{"id":"CVE-2016-5038","aliases":["DEBIAN-CVE-2016-5038","DLA-669-1","EUVD-2016-5991","GHSA-w7w4-26x2-q6cm","UBUNTU-CVE-2016-5038"],"status":"published","title":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows...","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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.04379,"percentile":0.91348,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2016-10-19T00:00:00Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"Debian:12","package":"dwarfutils","fixed_in":["20160507+git20160523.9086738-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"dwarfutils","fixed_in":["20160507+git20160523.9086738-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"dwarfutils","fixed_in":["20160507+git20160523.9086738-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"dwarfutils","fixed_in":["20120410-2+deb7u2build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"dwarfutils","fixed_in":["20120410-2+deb7u2build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20160507+git20160523.9086738-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20160507+git20160523.9086738-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20160507+git20160523.9086738-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20120410-2+deb7u2"}]}],"versions":["20120410-2","20120410-2+deb7u1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20120410-2+deb7u2build0.14.04.1"}]}],"versions":["20120410-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"dwarfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20120410-2+deb7u2build0.16.04.1"}]}],"versions":["20120410-2"]}],"products":[{"vendor":"libdwarf_project","product":"libdwarf"}],"references":[{"url":"https://www.prevanders.net/dwarfbug.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/24/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/25/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5038"},{"url":"https://github.com/advisories/GHSA-w7w4-26x2-q6cm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-5038","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-5038","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5038","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-5038","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:00:00Z","modified":"2024-08-06T00:46:40.236Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-5991","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:00:00Z","modified":"2024-08-06T00:46:40Z","updated_at":"2026-11-03T02:22:43.959327Z"}],"ghsa":[{"id":"GHSA-w7w4-26x2-q6cm","title":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows...","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2022-05-13T01:03:24Z","modified":"2023-02-01T05:02:37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:49:57.319635Z"}],"nvd":[{"id":"CVE-2016-5038","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:59:00.56Z","modified":"2026-06-17T00:48:39.933Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:35.822579Z"}],"osv":[{"id":"CVE-2016-5038","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:59:00.56Z","modified":"2026-10-24T10:31:01.188201257Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-5038","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:59:00.56Z","modified":"2026-09-22T07:02:51.107371407Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-5038","description":"The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.","status":"published","published":"2017-02-17T17:59:00Z","modified":"2026-04-22T10:47:13.731212Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"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-669-1","title":"dwarfutils - security update","status":"published","published":"2016-10-19T00:00:00Z","modified":"2026-03-09T02:10:31.594121Z","updated_at":"2026-11-02T15:46:13.207219Z"}]}}
