{"id":"CVE-2017-12839","aliases":["DEBIAN-CVE-2017-12839","EUVD-2017-4376","GHSA-gv4j-f4j9-qr3q","UBUNTU-CVE-2017-12839","USN-4806-1"],"status":"published","title":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123...","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","severity":{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02807,"percentile":0.86581,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-05-09T16:46:40Z","modified":"2026-09-01T20:03:42Z","fixes":[{"ecosystem":"Debian:12","package":"mpg123","fixed_in":["1.25.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mpg123","fixed_in":["1.25.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mpg123","fixed_in":["1.25.6-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"mpg123","fixed_in":["1.16.0-1ubuntu1.1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mpg123","fixed_in":["1.22.4-1ubuntu0.1+esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.6-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.0-1ubuntu1.1+esm2"}]}],"versions":["1.15.3-1ubuntu1","1.16.0-1ubuntu1","1.16.0-1ubuntu1.1","1.16.0-1ubuntu1.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.4-1ubuntu0.1+esm2"}]}],"versions":["1.22.2-1","1.22.4-1","1.22.4-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.0-1ubuntu1.1+esm2"}]}],"versions":["1.15.3-1ubuntu1","1.16.0-1ubuntu1","1.16.0-1ubuntu1.1","1.16.0-1ubuntu1.1+esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mpg123","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.4-1ubuntu0.1+esm2"}]}],"versions":["1.22.2-1","1.22.4-1","1.22.4-1ubuntu0.1"],"bundled":4}],"products":[{"vendor":"mpg123","product":"mpg123"}],"references":[{"url":"https://www.mpg123.de/","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory","advisory","report"]},{"url":"https://sourceforge.net/p/mpg123/bugs/255/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://www.mpg123.de/cgi-bin/scm/mpg123/trunk/src/libmpg123/getbits.h?r1=2024\u0026r2=4323\u0026sortby=date","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12839"},{"url":"https://sourceforge.net/p/mpg123/bugs/255"},{"url":"https://www.mpg123.de"},{"url":"https://github.com/advisories/GHSA-gv4j-f4j9-qr3q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-12839","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-12839","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12839","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4806-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-9545","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11126","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12797","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-12839","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T16:46:40Z","modified":"2024-08-05T18:51:06.644Z","updated_at":"2026-11-02T14:33:17.264801Z"}],"euvd":[{"id":"EUVD-2017-4376","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T16:46:40Z","modified":"2024-08-05T18:51:06Z","updated_at":"2026-11-03T02:23:20.155596Z"}],"ghsa":[{"id":"GHSA-gv4j-f4j9-qr3q","title":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123...","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2022-05-24T16:45:23Z","modified":"2024-04-04T00:34:20Z","cvss":[{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:50.552757Z"}],"nvd":[{"id":"CVE-2017-12839","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T17:29:00.42Z","modified":"2026-06-17T01:04:00.643Z","cvss":[{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","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-125"],"updated_at":"2026-11-02T14:04:19.545286Z"}],"osv":[{"id":"CVE-2017-12839","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T17:29:00.42Z","modified":"2026-03-14T09:24:19.618686Z","cvss":[{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"DEBIAN-CVE-2017-12839","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T17:29:00.42Z","modified":"2026-09-01T20:03:42.545377301Z","cvss":[{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:45:28.50097Z"},{"id":"UBUNTU-CVE-2017-12839","description":"A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact via a crafted mp3 file.","status":"published","published":"2019-05-09T17:29:00Z","modified":"2026-04-22T11:13:55.442362Z","cvss":[{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"id":"USN-4806-1","title":"mpg123 vulnerability","description":"It was discovered that mpg123 failed to handle certain malformed mp3 files.\nAn attacker could use this vulnerability to potentially leak sensitive\ninformation or cause a crash.","status":"published","published":"2021-03-17T16:50:30Z","modified":"2026-06-29T13:48:28.368376463Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
