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

- Severity: Medium 5.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/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.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-11-21T05:29:54.000Z
- Modified: 2026-06-17T03:07:11.993Z
- Weaknesses: CWE-416
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- Glyph & Cog xpdf: 4.02
- xpdfreader xpdf: 4.02
- fedoraproject fedora: 32; 33

## Every score

- redhat: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/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://forum.xpdfreader.com/viewtopic.php?f=3&t=41915> (exploit, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725> (exploit, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4ZUU5QG6SSVRTKZTR3A72LDRVZETEI63/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/> (mailing-list, third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-25725](https://www.cve.org/CVERecord?id=CVE-2020-25725), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-25725](https://nvd.nist.gov/vuln/detail/CVE-2020-25725), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25725 · Whole record: https://cve.day/CVE-2020-25725.json · Rebuilt by cve.day 2026-11-25T22:57:55.904Z
