CVE-2022-24197
MEDIUM 6.5CVSS 3.1Out-of-bounds Write in iText
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.
- Published
- 1 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-c32g-2mgr-cfq7
- Sources
- NVDJSONOSV GHSA-c32g-2mgr-cfq7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | itextpdf | itextcpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:* |
< 7.2.2 | 7.2.2 |
| OSV | Maven | com.itextpdf:itext7-core | < 7.1.18 | 7.1.18 |
References
- https://github.com/itext/itext7/pull/78 · Third Party Advisory, WEB
- https://github.com/itext/itext7/pull/78#issuecomment-1089282165 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/itext/itext7/releases/tag/7.1.18 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24197 · ADVISORY
- https://github.com/itext/itext7 · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Feb 2022)