Every CVE Search/ Get API key

CVE-2020-25725

In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to...

5.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.00%Unchanged since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.0

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.

Record
CVE-2020-25725
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
EUVDEUVD-2020-18378 5.0

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.

Record
EUVD-2020-18378
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-r454-8j2h-fwqp 5.5

In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to...

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.

Record
GHSA-r454-8j2h-fwqp
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-416
Updated
2026-11-02
NVD 5.0

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.

Record
CVE-2020-25725
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-416
Updated
2026-11-02
OSVALPINE-CVE-2020-25725 5.5

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.

Record
ALPINE-CVE-2020-25725
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2020-25725 5.0

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.

Record
UBUNTU-CVE-2020-25725
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2021-0112 No score

Updated xpdf packages fix security vulnerabilities

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 (CVE-2020-25725).

Xpdf 4.02 allows stack consumption because of an incorrect subroutine reference in a Type 1C font charstring, related to the FoFiType1C::getOp() function (CVE-2020-35376).

Record
MGASA-2021-0112
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
xpdf
Alpine:v3.13
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.14
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.15
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.16
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.17
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.18
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.19
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.20
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.21
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.22
before 4.03-r0
4.03-r0
Show 12 moreShow less
Affected packages
PackageAffectedFixed
xpdf
Alpine:v3.23
before 4.03-r0
4.03-r0
xpdf
Alpine:v3.24
before 4.03-r0
4.03-r0
xpdf
Mageia:7
From an advisory covering 2 CVEs
before 4.03-1.mga7
4.03-1.mga7
xpdf
Mageia:8
From an advisory covering 2 CVEs
before 4.03-1.mga8
4.03-1.mga8
ipe
Ubuntu:16.04:LTS
All versions, plus listed versions
7.1.4-2.17.1.8-17.1.10-17.1.10-1.1
None known
ipe
Ubuntu:18.04:LTS
All versions, plus listed versions
7.2.7-27.2.7-3
None known
ipe
Ubuntu:20.04:LTS
All versions, plus listed versions
7.2.9-17.2.13-27.2.13-2build1
None known
ipe
Ubuntu:22.04:LTS
All versions, plus listed versions
7.2.23+dfsg1-27.2.24+dfsg1-17.2.24+dfsg1-1build1
None known
ipe
Ubuntu:24.04:LTS
All versions, plus listed versions
7.2.27+dfsg1-27.2.28-27.2.28-2.1build27.2.28-2.1build37.2.28-2.1build4
None known
ipe
Ubuntu:25.10
All versions, plus listed versions
7.2.30-1build1
None known
ipe
Ubuntu:26.10
All versions, plus listed versions
7.2.30-1build27.2.30-2
None known
ipe
Ubuntu:26.04:LTS
All versions, plus listed versions
7.2.30-1build17.2.30-1build2
None known

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-25725 is a medium vulnerability (CVSS 5.0) in Glyph & Cog Xpdf, published November 21, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.00%, the 63rd percentile. Fixed in xpdf 4.03-r0.

References

Show 8 moreShow less
MoveEnter Open