{"id":"CVE-2011-4089","aliases":["DEBIAN-CVE-2011-4089","EUVD-2011-4040","GHSA-f3fh-cjxj-26mw"],"status":"published","title":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not...","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01045,"percentile":0.64374,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-264"],"published":"2014-04-16T18:00:00Z","modified":"2026-10-23T17:47:29Z","exploits":[{"source":"exploitdb","id":"EDB-18147","title":"bzexe (bzip2) - Race Condition","type":"local","platform":"linux","date":"2011-11-23","verified":true,"url":"https://www.exploit-db.com/exploits/18147"}],"fixes":[{"ecosystem":"Debian:12","package":"bzip2","fixed_in":["1.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"bzip2","fixed_in":["1.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"bzip2","fixed_in":["1.0.6-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"bzip2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.6-1"}]}]}],"products":[{"vendor":"bzip","product":"bzip2"}],"references":[{"url":"http://seclists.org/fulldisclosure/2011/Oct/804","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632862","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.ubuntu.com/usn/USN-1308-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Patch","fix"]},{"url":"http://www.exploit-db.com/exploits/18147","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2011/10/28/16","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4089"},{"url":"https://github.com/advisories/GHSA-f3fh-cjxj-26mw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-4089","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2011-4089","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2014-04-16T18:00:00Z","modified":"2024-08-06T23:53:32.623Z","updated_at":"2026-11-02T14:35:37.989579Z"}],"euvd":[{"id":"EUVD-2011-4040","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2014-04-16T18:00:00Z","modified":"2024-08-06T23:53:32Z","updated_at":"2026-11-03T01:39:49.868954Z"}],"ghsa":[{"id":"GHSA-f3fh-cjxj-26mw","title":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not...","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2022-05-17T04:46:30Z","modified":"2023-01-28T05:02:39Z","updated_at":"2026-11-02T14:43:49.260703Z"}],"nvd":[{"id":"CVE-2011-4089","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2014-04-16T18:37:11.257Z","modified":"2026-06-16T23:34:24.27Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:12.639283Z"}],"osv":[{"id":"CVE-2011-4089","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2014-04-16T18:37:11Z","modified":"2026-04-10T03:42:02.680833Z","updated_at":"2026-11-02T15:43:58.279353Z"},{"id":"DEBIAN-CVE-2011-4089","description":"The bzexe command in bzip2 1.0.5 and earlier generates compressed executables that do not properly handle temporary files during extraction, which allows local users to execute arbitrary code by precreating a temporary directory.","status":"published","published":"2014-04-16T18:37:11.257Z","modified":"2026-10-23T17:47:29.816640279Z","updated_at":"2026-11-02T15:45:24.612044Z"}]}}
