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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25725
Reference (s):
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725
- URL: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725
- FEDORA:FEDORA-2021-013d9a30e0
- URL: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLOYVJSM54IL6I5RY4QTJGRS7PIEG44X/
- FEDORA:FEDORA-2021-4a437fe032