{"id":"CVE-2016-4021","aliases":["DEBIAN-CVE-2016-4021","DLA-768-1","EUVD-2016-5027","GHSA-5xfq-6ph6-q9hw","MGASA-2016-0157","UBUNTU-CVE-2016-4021"],"status":"published","title":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to...","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01824,"percentile":0.78938,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-399"],"published":"2016-04-29T17:21:35Z","modified":"2026-10-20T10:47:37Z","fixes":[{"ecosystem":"Debian:12","package":"pgpdump","fixed_in":["0.31-0.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pgpdump","fixed_in":["0.31-0.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pgpdump","fixed_in":["0.31-0.1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"pgpdump","fixed_in":["0.27-1+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"pgpdump","fixed_in":["0.30-1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"pgpdump","fixed_in":["0.28-1+deb8u1build0.14.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31-0.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31-0.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31-0.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27-1+deb7u1"}]}],"versions":["0.27-1"]},{"source":"osv","ecosystem":"Mageia:5","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.30-1.mga5"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.28-1+deb8u1build0.14.04.1"}]}],"versions":["0.27-1","0.28-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"pgpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.28-1","0.29-1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"pgpdump_project","product":"pgpdump"}],"references":[{"url":"http://seclists.org/bugtraq/2016/Apr/99","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Exploit","evidence"]},{"url":"https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2016-030.txt","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","report"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184689.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183750.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184617.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://github.com/kazu-yamamoto/pgpdump/pull/16","tags":["x_refsource_CONFIRM","x_transferred","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4021"},{"url":"https://github.com/advisories/GHSA-5xfq-6ph6-q9hw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-4021","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0157.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=18262","tags":["report"]},{"url":"https://github.com/kazu-yamamoto/pgpdump/blob/master/CHANGES","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-4021","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4021","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-4021","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:00:00Z","modified":"2024-08-06T00:17:29.854Z","updated_at":"2026-11-02T14:33:35.149563Z"}],"euvd":[{"id":"EUVD-2016-5027","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:00:00Z","modified":"2024-08-06T00:17:29Z","updated_at":"2026-11-03T02:22:48.270082Z"}],"ghsa":[{"id":"GHSA-5xfq-6ph6-q9hw","title":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to...","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2022-05-17T03:53:15Z","modified":"2023-01-28T05:00:39Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T14:43:23.362712Z"}],"nvd":[{"id":"CVE-2016-4021","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:59:01.167Z","modified":"2026-06-17T00:46:45Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:03:25.366449Z"}],"osv":[{"id":"CVE-2016-4021","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:59:01.167Z","modified":"2026-10-20T10:47:37.70171048Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-4021","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:59:01.167Z","modified":"2026-09-22T07:00:48.367615502Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-4021","description":"The read_binary function in buffer.c in pgpdump before 0.30 allows context-dependent attackers to cause a denial of service (infinite loop and CPU consumption) via crafted input, as demonstrated by the \\xa3\\x03 string.","status":"published","published":"2016-05-26T14:59:00Z","modified":"2025-10-24T04:45:44Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"DLA-768-1","title":"pgpdump - security update","status":"published","published":"2016-12-30T00:00:00Z","modified":"2026-03-09T02:09:12.530556Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"MGASA-2016-0157","title":"Updated pgpdump packages fix security vulnerability","description":"When pgpdump is run on specially crafted input, a denial of service\ncondition occurs. The program runs with 100% CPU usage for an indefinite\namount of time. A remote attacker is able to create a specially crafted\ninput that is leading to CPU resource consumption resulting in denial of\nservice (CVE-2016-4021).\n","status":"published","published":"2016-04-29T17:21:35Z","modified":"2026-04-16T06:25:30.20313882Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
