Home / Itextpdf / Itext / CVE-2022-24197
CVE-2022-24197: is it exploited, and which versions of Itextpdf Itext are affected and fixed?
CVE-2022-24197 is an out-of-bounds write (memory corruption) vulnerability in Itextpdf Itext. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: com.itextpdf:itext7-core before 7.1.18 (GitHub advisory GHSA-c32g-2mgr-cfq7). Fixed in 7.1.18 (GitHub advisory GHSA-c32g-2mgr-cfq7). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2022-24197?
iText v7.1.17 was discovered to contain a stack-based buffer overflow via the component ByteBuffer.append, which allows attackers to cause a Denial of Service (DoS) via a crafted PDF file.
From the CVE record by mitre, last updated August 3, 2024, 04:07 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.itextpdf:itext7-core | < 7.1.18 | 7.1.18 | GHSA-c32g-2mgr-cfq7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 7, 2022. Summary: Out-of-bounds Write in iText.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| itextpdf | itext | before 7.2.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:31 UTC.
How severe is CVE-2022-24197?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-24197 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.34% probability of exploitation activity in the next 30 days, percentile 72.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://github.com/itext/itext7/pull/78
- https://github.com/itext/itext7/pull/78#issuecomment-1089282165
- https://github.com/itext/itext7/releases/tag/7.1.18
When was it published, and where is the official record?
- Reserved
- January 31, 2022
- Published
- February 1, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 04:07 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:31 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Itext?
- Feb 1, 2022CVE-2022-24198 Itextpdf Itext: out-of-bounds read disputed
- Feb 1, 2022CVE-2022-24196 Itextpdf Itext: denial of service (resources allocated without limits)
- Dec 15, 2021CVE-2021-43113 Itextpdf Itext: command injection
- Nov 8, 2017CVE-2017-9096 Itextpdf Itext: XML external entity (XXE)
Questions about CVE-2022-24197
Is CVE-2022-24197 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Itextpdf Itext are affected by CVE-2022-24197?
com.itextpdf:itext7-core before 7.1.18, per the GitHub advisory GHSA-c32g-2mgr-cfq7. The tables above give every range the sources list.
Which version fixes CVE-2022-24197?
7.1.18, per the GitHub advisory GHSA-c32g-2mgr-cfq7. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-24197?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-24197?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.