Use After Free in Glyph & Cog Xpdf

CVE-2020-25725

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.

Vulnerability class: Use-After-Free

EPSS: 0.010 (59.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-25725?
CVE-2020-25725 is a medium-severity vulnerability in Glyph & Cog Xpdf, classified under Use After Free. CVSS score: 5.0/10. Published 2020-11-21.
How severe is CVE-2020-25725?
Medium severity. CVSS v3 base score is 5.0 out of 10.