CVE-2022-24197
Java vulnerability analysis and mitigation

Overview

iText v7.1.17 was discovered to contain a stack-based buffer overflow vulnerability in the ByteBuffer.append component. This vulnerability was assigned CVE-2022-24197 and was discovered in February 2022 (NVD, GitHub PR).

Technical details

The vulnerability manifests as a stack overflow error in multiple components of the iText library, particularly in the ByteBuffer.append functionality and related PDF tokenizer operations. The issue affects various components including PdfTokenizer, RandomAccessFileOrArray, and PdfReader classes (GitHub PR).

Impact

When exploited, this vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted PDF file (NVD).

Mitigation and workarounds

The vulnerability was fixed in iText version 7.2.2 with commit 88c9cb7. Users are advised to upgrade to version 7.1.18 or later which includes the security fix (GitHub Release).

Community reactions

The iText development team acknowledged the vulnerability and implemented fixes in subsequent releases. The issue was initially reported by security researchers Zhang Cen, Huang Wenjie, and Zhang Xiaohan (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management