Heap-use-after-free vulnerability in Xpdf 4.02's SplashOutputDev::endType3Char() function

Heap-use-after-free vulnerability in Xpdf 4.02's SplashOutputDev::endType3Char() function

CVE-2020-25725 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.