{"id":"CVE-2016-1252","aliases":["DEBIAN-CVE-2016-1252","DSA-3733-1","EUVD-2016-2351","GHSA-53rm-7gr9-9hfx","UBUNTU-CVE-2016-1252","USN-3156-1"],"status":"published","title":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu...","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.07248,"percentile":0.94377,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-295"],"published":"2016-12-13T00:00:00Z","modified":"2026-09-22T07:01:14Z","exploits":[{"source":"exploitdb","id":"EDB-40916","title":"APT - Repository Signing Bypass via Memory Allocation Failure","type":"remote","platform":"linux","date":"2016-12-14","verified":true,"url":"https://www.exploit-db.com/exploits/40916"}],"fixes":[{"ecosystem":"Debian:12","package":"apt","fixed_in":["1.4~beta2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apt","fixed_in":["1.4~beta2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apt","fixed_in":["1.4~beta2"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"apt","fixed_in":["1.0.9.8.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"apt","fixed_in":["1.0.1ubuntu2.17"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"apt","fixed_in":["1.2.15ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~beta2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~beta2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~beta2"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9.8.4"}]}],"versions":["1.0.9.8","1.0.9.8.1","1.0.9.8.2","1.0.9.8.3"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1ubuntu2.17"}]}],"versions":["0.9.9.1~ubuntu3","0.9.9.1~ubuntu4","0.9.9.1~ubuntu5","0.9.13~exp1ubuntu1","0.9.13~exp1ubuntu2","0.9.13~exp1ubuntu3","0.9.13.1~ubuntu1","0.9.14.1ubuntu1","0.9.14.1ubuntu2","0.9.15.1ubuntu1","0.9.15.4ubuntu1","0.9.15.4ubuntu2","0.9.15.4ubuntu3","0.9.15.4ubuntu4","0.9.15.4ubuntu5","1.0.1ubuntu2","1.0.1ubuntu2.1","1.0.1ubuntu2.3","1.0.1ubuntu2.4.1","1.0.1ubuntu2.5","1.0.1ubuntu2.6","1.0.1ubuntu2.7","1.0.1ubuntu2.8","1.0.1ubuntu2.9","1.0.1ubuntu2.10","1.0.1ubuntu2.11","1.0.1ubuntu2.12","1.0.1ubuntu2.13","1.0.1ubuntu2.14","1.0.1ubuntu2.15"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15ubuntu0.2"}]}],"versions":["1.0.10.2ubuntu1","1.1.4","1.1.5","1.1.10","1.2.3","1.2.4","1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.10ubuntu1","1.2.12~ubuntu16.04.1","1.2.15"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1ubuntu2.17"}]}],"versions":["0.9.9.1~ubuntu3","0.9.9.1~ubuntu4","0.9.9.1~ubuntu5","0.9.13~exp1ubuntu1","0.9.13~exp1ubuntu2","0.9.13~exp1ubuntu3","0.9.13.1~ubuntu1","0.9.14.1ubuntu1","0.9.14.1ubuntu2","0.9.15.1ubuntu1","0.9.15.4ubuntu1","0.9.15.4ubuntu2","0.9.15.4ubuntu3","0.9.15.4ubuntu4","0.9.15.4ubuntu5","1.0.1ubuntu2","1.0.1ubuntu2.1","1.0.1ubuntu2.3","1.0.1ubuntu2.4.1","1.0.1ubuntu2.5","1.0.1ubuntu2.6","1.0.1ubuntu2.7","1.0.1ubuntu2.8","1.0.1ubuntu2.9","1.0.1ubuntu2.10","1.0.1ubuntu2.11","1.0.1ubuntu2.12","1.0.1ubuntu2.13","1.0.1ubuntu2.14","1.0.1ubuntu2.15"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15ubuntu0.2"}]}],"versions":["1.0.10.2ubuntu1","1.1.4","1.1.5","1.1.10","1.2.3","1.2.4","1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.10ubuntu1","1.2.12~ubuntu16.04.1","1.2.15"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"advanced_package_tool"}],"references":[{"url":"https://www.debian.org/security/2016/dsa-3733","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"http://www.ubuntu.com/usn/USN-3156-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/140145/apt-Repository-Signing-Bypass.html","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"https://www.exploit-db.com/exploits/40916/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1647467","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1020","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1252"},{"url":"https://www.exploit-db.com/exploits/40916"},{"url":"https://github.com/advisories/GHSA-53rm-7gr9-9hfx"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-1252","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-1252","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3156-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-1252","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-1252","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2017-12-05T16:00:00Z","modified":"2024-08-05T22:48:13.65Z","updated_at":"2026-11-02T14:33:35.841056Z"}],"euvd":[{"id":"EUVD-2016-2351","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2017-12-05T16:00:00Z","modified":"2024-08-05T22:48:13Z","updated_at":"2026-11-03T02:22:57.974183Z"}],"ghsa":[{"id":"GHSA-53rm-7gr9-9hfx","title":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu...","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2022-05-13T01:23:34Z","modified":"2025-04-20T03:50:27Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:01:56.679657Z"}],"nvd":[{"id":"CVE-2016-1252","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2017-12-05T16:29:00.203Z","modified":"2026-06-17T00:41:33.543Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-1252","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2017-12-05T16:29:00.203Z","modified":"2026-03-15T22:04:40.58439Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:02.114472Z"},{"id":"DEBIAN-CVE-2016-1252","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2017-12-05T16:29:00.203Z","modified":"2026-09-22T07:01:14.046040877Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-1252","description":"The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2, in Ubuntu 14.04 LTS before 1.0.1ubuntu2.17, in Ubuntu 16.04 LTS before 1.2.15ubuntu0.2, and in Ubuntu 16.10 before 1.3.2ubuntu0.1 allows man-in-the-middle attackers to bypass a repository-signing protection mechanism by leveraging improper error handling when validating InRelease file signatures.","status":"published","published":"2016-12-13T00:00:00Z","modified":"2026-04-22T10:31:08.752414Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"DSA-3733-1","title":"apt - security update","status":"published","published":"2016-12-13T00:00:00Z","modified":"2026-03-09T01:18:24.900483Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"USN-3156-1","title":"apt vulnerability","description":"Jann Horn discovered that APT incorrectly handled InRelease files.\nIf a remote attacker were able to perform a machine-in-the-middle attack, this\nflaw could potentially be used to install altered packages.\n","status":"published","published":"2016-12-13T18:35:54Z","modified":"2026-04-22T09:30:51.174796Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
