Every CVE Search/ Get API key

CVE-2020-35376

Xpdf 4.02 allows stack consumption because of an incorrect subroutine reference in a Type 1C font...

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.12%Up 1.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2020-35376
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-35376
Updated
2026-11-02
EUVDEUVD-2020-23052 No score

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

Record
EUVD-2020-23052
Updated
2026-11-03
GitHub AdvisoriesGHSA-2jg5-5mqp-735q No score

Xpdf 4.02 allows stack consumption because of an incorrect subroutine reference in a Type 1C font...

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

Record
GHSA-2jg5-5mqp-735q
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2020-35376 7.5

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

Record
ALPINE-CVE-2020-35376
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVUBUNTU-CVE-2020-35376 7.5

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

Record
UBUNTU-CVE-2020-35376
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/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
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2020-35376 is a high vulnerability (CVSS 7.5) in Xpdfreader Xpdf, published December 26, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.12%, the 82nd percentile. Fixed in xpdf 4.03-r0.

References

Show 7 moreShow less
MoveEnter Open