CVE-2020-20740 json
PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().
published 2020-11-20 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-13520
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().
Patch / fix
- pdfresurrect_project pdfresurrect 0.20
- pdfresurrect Debian 14, Debian 13, Debian 12 0.21-1
debian advisories DEBIAN-CVE-2020-20740
- pdfresurrect Ubuntu Pro 16.04 LTS 0.12-6ubuntu0.2+esm1
- pdfresurrect Ubuntu Pro 18.04 LTS 0.14-1ubuntu0.1~esm1
- pdfresurrect Ubuntu Pro 20.04 LTS 0.19-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-20740
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-20740 updated cvss 5.5
pdfresurrect: heap-based buffer overflow in pdf_get_version function due to lack of header validation checks
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/enferex/pdfresurrect/issues/14 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/enferex/pdfresurrect/commit/1b422459f07353adce2878806d5247d9e91fb397
patch, third-party-advisory
-
github.com
/enferex/pdfresurrect/issues/14
exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZOIEVFM3SIMAEOFJKKMYH2TLZ7PXLSUD/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JMEEEPBBGER5LPABBRVZLMCC6Z24RBXW/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/12/msg00002.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-20740
- NVD CVE-2020-20740
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.