{"id":"CVE-2020-20740","aliases":["DEBIAN-CVE-2020-20740","DLA-2475-1","EUVD-2020-13520","GHSA-x486-4h5g-3687","MGASA-2020-0449","UBUNTU-CVE-2020-20740","USN-5282-1"],"status":"published","title":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in...","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01185,"percentile":0.68056,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2020-11-20T18:16:03Z","modified":"2026-10-26T12:00:49Z","fixes":[{"ecosystem":"Debian:12","package":"pdfresurrect","fixed_in":["0.21-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pdfresurrect","fixed_in":["0.21-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pdfresurrect","fixed_in":["0.21-1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"pdfresurrect","fixed_in":["0.21-1.mga7"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pdfresurrect","fixed_in":["0.12-6ubuntu0.2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pdfresurrect","fixed_in":["0.14-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pdfresurrect","fixed_in":["0.19-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12-6+deb9u1"}]}],"versions":["0.12-6"],"bundled":2},{"source":"osv","ecosystem":"Mageia:7","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1.mga7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12-1","0.12-2","0.12-4","0.12-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12-6ubuntu0.2+esm1"}]}],"versions":["0.12-5","0.12-6","0.12-6ubuntu0.1","0.12-6ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-1ubuntu0.1~esm1"}]}],"versions":["0.12-6","0.14-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19-1ubuntu0.1~esm1"}]}],"versions":["0.18-2","0.19-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12-6ubuntu0.2+esm1"}]}],"versions":["0.12-5","0.12-6","0.12-6ubuntu0.1","0.12-6ubuntu0.2"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-1ubuntu0.1~esm1"}]}],"versions":["0.12-6","0.14-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19-1ubuntu0.1~esm1"}]}],"versions":["0.18-2","0.19-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"pdfresurrect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.1~esm1"}]}],"versions":["0.22-1","0.22-2"],"bundled":5}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"pdfresurrect_project","product":"pdfresurrect"}],"references":[{"url":"https://github.com/enferex/pdfresurrect/issues/14","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/enferex/pdfresurrect/commit/1b422459f07353adce2878806d5247d9e91fb397","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00002.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOIEVFM3SIMAEOFJKKMYH2TLZ7PXLSUD/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMEEEPBBGER5LPABBRVZLMCC6Z24RBXW/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-20740"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JMEEEPBBGER5LPABBRVZLMCC6Z24RBXW/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZOIEVFM3SIMAEOFJKKMYH2TLZ7PXLSUD/"},{"url":"https://github.com/advisories/GHSA-x486-4h5g-3687"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-20740","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0449.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=27704","tags":["report"]},{"url":"https://www.debian.org/lts/security/2020/dla-2475","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/JMEEEPBBGER5LPABBRVZLMCC6Z24RBXW/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-20740","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5282-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-20740","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-14267","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-14934","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-9549","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3508","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-20740","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T18:16:03Z","modified":"2024-08-04T14:22:25.453Z","updated_at":"2026-11-02T14:35:45.763329Z"}],"euvd":[{"id":"EUVD-2020-13520","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T18:16:03Z","modified":"2024-08-04T14:22:25Z","updated_at":"2026-11-03T03:07:24.233243Z"}],"ghsa":[{"id":"GHSA-x486-4h5g-3687","title":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in...","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2022-05-24T17:34:38Z","modified":"2023-01-29T05:04:46Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:45:37.901426Z"}],"nvd":[{"id":"CVE-2020-20740","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T19:15:11.803Z","modified":"2026-06-17T03:03:24.873Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"CVE-2020-20740","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T19:15:11.803Z","modified":"2026-10-20T13:52:42.780647086Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.212689Z"},{"id":"DEBIAN-CVE-2020-20740","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T19:15:11.803Z","modified":"2026-10-26T12:00:49.793303741Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:33.384087Z"},{"id":"UBUNTU-CVE-2020-20740","description":"PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().","status":"published","published":"2020-11-20T19:15:00Z","modified":"2026-02-04T11:31:03.236499Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"DLA-2475-1","title":"pdfresurrect - security update","status":"published","published":"2020-12-01T00:00:00Z","modified":"2026-03-09T01:17:51.414461Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"MGASA-2020-0449","title":"Updated pdfresurrect package fixes security vulnerability","description":"In PDFResurrect before 0.20, lack of header validation checks causes a\nheap-buffer-overflow in pdf_get_version() (CVE-2020-20740).\n","status":"published","published":"2020-12-05T19:46:49Z","modified":"2026-04-16T04:44:44.929404291Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"USN-5282-1","title":"pdfresurrect vulnerabilities","description":"It was discovered that PDFResurrect was incorrectly handling corrupted PDF\nfiles. An attacker could possibly use this issue to cause a buffer overflow,\nresulting in a denial of service, or arbitrary code execution. This issue\nonly affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-14267)\n\nIt was discovered that PDFResurrect incorrectly handled memory when loading\nPDF pages. An attacker could possibly use this issue to cause a heap\nbuffer overflow, resulting in a denial of service, or arbitrary code execution.\nThis issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM.\n(CVE-2019-14934)\n\nIt was discovered that PDFResurrect was incorrectly validating header data in\ninput PDF files. An attacker could possibly use this issue to cause a heap\nbuffer overflow, resulting in a denial of service, or arbitrary code execution.\nThis issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM.\n(CVE-2020-20740)\n\nCarter Yagemann discovered that PDFResurrect incorrectly handled certain memory\noperations during PDF summary generation. An attacker could use this to\ncause out-of-bounds writes, resulting in a denial of service (system crash)\nor arbitrary code execution. This issue only affected Ubuntu 18.04 ESM and\nUbuntu 20.04 ESM. (CVE-2020-9549)\n\nIt was discovered that PDFResurrect was incorrectly processing data when\nperforming trailer search operations. An attacker could possibly use this issue\nto cause an infinite loop, resulting in a denial of service. (CVE-2021-3508)\n","status":"published","published":"2022-06-03T07:54:24Z","modified":"2026-06-25T13:31:01.265723244Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
