# CVE-2022-24197: Out-of-bounds Write in iText

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-01T00:00:00.000Z
- Modified: 2026-06-17T04:31:27.547Z
- Also known as: GHSA-c32g-2mgr-cfq7
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.itextpdf:itext7-core (Maven): before 7.1.18
- itextpdf itext: before 7.2.2

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/itext/itext7/pull/78#issuecomment-1089282165> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/itext/itext7/pull/78> (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)

## Sources

- CVE List: [CVE-2022-24197](https://www.cve.org/CVERecord?id=CVE-2022-24197), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c32g-2mgr-cfq7](https://github.com/advisories/GHSA-c32g-2mgr-cfq7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24197](https://nvd.nist.gov/vuln/detail/CVE-2022-24197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24197 · Whole record: https://cve.day/CVE-2022-24197.json · Rebuilt by cve.day 2026-11-25T22:58:09.459Z
