# CVE-2020-20740: PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdfgetversion().

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-20T18:16:03.000Z
- Modified: 2026-06-17T03:03:24.873Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pdfresurrect_project pdfresurrect: before 0.20
- debian debian_linux: 9.0
- fedoraproject fedora: 32; 33

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/enferex/pdfresurrect/issues/14> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/enferex/pdfresurrect/commit/1b422459f07353adce2878806d5247d9e91fb397> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/12/msg00002.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOIEVFM3SIMAEOFJKKMYH2TLZ7PXLSUD/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMEEEPBBGER5LPABBRVZLMCC6Z24RBXW/> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-20740](https://www.cve.org/CVERecord?id=CVE-2020-20740), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-20740](https://nvd.nist.gov/vuln/detail/CVE-2020-20740), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-20740 · Whole record: https://cve.day/CVE-2020-20740.json · Rebuilt by cve.day 2026-11-25T22:57:55.901Z
