Vulnerability · Published Nov 21, 2020 · Assigned by redhat
CVE-2020-25725
Medium 5.0
In plain English
A medium-severity use-after-free in xpdf from Glyph & Cog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xpdf | 4.03-r0 | ALPINE-CVE-2020-25725 |
| Alpine:v3.21 | xpdf | 4.03-r0 | ALPINE-CVE-2020-25725 |
| Alpine:v3.22 | xpdf | 4.03-r0 | ALPINE-CVE-2020-25725 |
| Alpine:v3.23 | xpdf | 4.03-r0 | ALPINE-CVE-2020-25725 |
| Alpine:v3.24 | xpdf | 4.03-r0 | ALPINE-CVE-2020-25725 |
| Ubuntu:22.04:LTS | ipe | no fix listed | UBUNTU-CVE-2020-25725 |
| Ubuntu:24.04:LTS | ipe | no fix listed | UBUNTU-CVE-2020-25725 |
| Ubuntu:25.10 | ipe | no fix listed | UBUNTU-CVE-2020-25725 |
| Ubuntu:26.04:LTS | ipe | no fix listed | UBUNTU-CVE-2020-25725 |
| Ubuntu:26.10 | ipe | no fix listed | UBUNTU-CVE-2020-25725 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Glyph & Cog | xpdf | 4.02 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
References
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=41915 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25725 x_refsource_CONFIRM
- FEDORA-2021-4a437fe032 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-013d9a30e0 vendor-advisory, x_refsource_FEDORA