{"id":"CVE-2016-10254","aliases":["BELL-CVE-2016-10254","DEBIAN-CVE-2016-10254","EUVD-2016-1439","GHSA-39hq-3m25-w277","MGASA-2018-0027","SUSE-SU-2019:1733-1","UBUNTU-CVE-2016-10254","USN-3670-1"],"status":"published","title":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a...","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01573,"percentile":0.75588,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-03-23T00:00:00Z","modified":"2026-10-24T10:30:48Z","fixes":[{"ecosystem":"Debian:12","package":"elfutils","fixed_in":["0.168-0.2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"elfutils","fixed_in":["0.168-0.2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"elfutils","fixed_in":["0.168-0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"elfutils","fixed_in":["0.158-0ubuntu5.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"elfutils","fixed_in":["0.165-3ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.168-0.2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.168-0.2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.168-0.2"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.169-1.mga5"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-7.7.2"}]}],"bundled":15},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-0ubuntu5.3"}]}],"versions":["0.157-1ubuntu1","0.158-0ubuntu3","0.158-0ubuntu4","0.158-0ubuntu5","0.158-0ubuntu5.1","0.158-0ubuntu5.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.165-3ubuntu1.1"}]}],"versions":["0.163-4ubuntu1","0.163-5.1","0.164-1","0.165-3","0.165-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.158-0ubuntu5.3"}]}],"versions":["0.157-1ubuntu1","0.158-0ubuntu3","0.158-0ubuntu4","0.158-0ubuntu5","0.158-0ubuntu5.1","0.158-0ubuntu5.2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"elfutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.165-3ubuntu1.1"}]}],"versions":["0.163-4ubuntu1","0.163-5.1","0.164-1","0.165-3","0.165-3ubuntu1"],"bundled":9}],"products":[{"vendor":"elfutils_project","product":"elfutils"}],"references":[{"url":"https://usn.ubuntu.com/3670-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/03/22/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201710-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-in-allocate_elf-common-h/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.fedorahosted.org/archives/list/elfutils-devel%40lists.fedorahosted.org/message/EJWVY7TMRDEMWPAPNVU3V4MZYG5HANF2/","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10254"},{"url":"https://blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-in-allocate_elf-common-h"},{"url":"https://lists.fedorahosted.org/archives/list/elfutils-devel%40lists.fedorahosted.org/message/EJWVY7TMRDEMWPAPNVU3V4MZYG5HANF2"},{"url":"https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/message/EJWVY7TMRDEMWPAPNVU3V4MZYG5HANF2"},{"url":"https://usn.ubuntu.com/3670-1"},{"url":"https://github.com/advisories/GHSA-39hq-3m25-w277"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2016-10254","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10254","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0027.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20557","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/03/22/2","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/03/22/1","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/8","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/9","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/11","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/12","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/13","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/14","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/10/15","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191733-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1030472","tags":["report"]},{"url":"https://bugzilla.suse.com/1030476","tags":["report"]},{"url":"https://bugzilla.suse.com/1033084","tags":["report"]},{"url":"https://bugzilla.suse.com/1033085","tags":["report"]},{"url":"https://bugzilla.suse.com/1033087","tags":["report"]},{"url":"https://bugzilla.suse.com/1033088","tags":["report"]},{"url":"https://bugzilla.suse.com/1033089","tags":["report"]},{"url":"https://bugzilla.suse.com/1033090","tags":["report"]},{"url":"https://bugzilla.suse.com/1106390","tags":["report"]},{"url":"https://bugzilla.suse.com/1107067","tags":["report"]},{"url":"https://bugzilla.suse.com/1111973","tags":["report"]},{"url":"https://bugzilla.suse.com/1112723","tags":["report"]},{"url":"https://bugzilla.suse.com/1112726","tags":["report"]},{"url":"https://bugzilla.suse.com/1123685","tags":["report"]},{"url":"https://bugzilla.suse.com/1125007","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10254","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10255","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7607","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7608","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7610","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7611","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7612","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7613","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16062","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16403","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18310","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18520","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18521","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-7150","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-7665","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-10254","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3670-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10254","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10255","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7607","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7608","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7609","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7610","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7611","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7612","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7613","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-10254","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T16:00:00Z","modified":"2024-08-06T03:14:42.844Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-1439","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T16:00:00Z","modified":"2024-08-06T03:14:42Z","updated_at":"2026-11-03T02:22:24.206227Z"}],"ghsa":[{"id":"GHSA-39hq-3m25-w277","title":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a...","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2022-05-14T03:20:03Z","modified":"2025-04-20T03:34:38Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:41.934315Z"}],"nvd":[{"id":"CVE-2016-10254","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T16:59:00.167Z","modified":"2026-06-17T00:39:22.57Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:37.238712Z"}],"osv":[{"id":"BELL-CVE-2016-10254","title":"CVE-2016-10254 does not affect BellSoft software","status":"withdrawn","published":"2017-03-23T16:59:00Z","modified":"2026-01-26T09:49:48.447893Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:13.47097Z"},{"id":"CVE-2016-10254","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T16:59:00.167Z","modified":"2026-10-24T10:30:48.375050111Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10254","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T16:59:00.167Z","modified":"2026-09-22T07:00:19.778067995Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10254","description":"The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted ELF file, which triggers a memory allocation failure.","status":"published","published":"2017-03-23T00:00:00Z","modified":"2026-04-22T10:30:22.811277Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"MGASA-2018-0027","title":"Updated elfutils packages fix security vulnerabilities","description":"The elfutils package has been updated to version 0.169 to fix several bugs\nthat can lead to memory allocation failures or heap overflows\n(CVE-2016-10254, CVE-2016-10255, CVE-2017-7607, CVE-2017-7608,\nCVE-2017-7609, CVE-2017-7610, CVE-2017-7611, CVE-2017-7612,\nCVE-2017-7613).\n","status":"published","published":"2018-01-03T10:32:10Z","modified":"2026-04-16T06:26:00.968533515Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2019:1733-1","title":"Security update for elfutils","description":"This update for elfutils fixes the following issues:\n\nSecurity issues fixed: \t  \n\n- CVE-2018-16403: Fixed a heap-based buffer over-read that could have led to Denial of Service (bsc#1107067).  \n- CVE-2016-10254: Fixed a memory allocation failure in alloxate_elf (bsc#1030472).\n- CVE-2019-7665: NT_PLATFORM core file note should be a zero terminated string (bsc#1125007).\n- CVE-2016-10255: Fixed a memory allocation failure in libelf_set_rawdata_wrlock (bsc#1030476).\n- CVE-2019-7150: Added a missing check in dwfl_segment_report_module which could have allowed truncated files \n  to be read (bsc#1123685).\n- CVE-2018-16062: Fixed a heap-buffer-overflow (bsc#1106390).\n- CVE-2017-7611: Fixed a heap-based buffer over-read that could have led to Denial of Service (bsc#1033088).\n- CVE-2017-7613: Fixed denial of service caused by the missing validation of the number of sections \n  and the number of segments in a crafted ELF file (bsc#1033090).\n- CVE-2017-7607: Fixed a heap-based buffer overflow in handle_gnu_hash (bsc#1033084).\n- CVE-2017-7608: Fixed a heap-based buffer overflow in ebl_object_note_type_name() (bsc#1033085).\n- CVE-2017-7610: Fixed a heap-based buffer overflow in check_group (bsc#1033087).\n- CVE-2018-18521: Fixed multiple divide-by-zero vulnerabilities in function arlib_add_symbols() (bsc#1112723).\n- CVE-2017-7612: Fixed a denial of service in check_sysv_hash() via a crafted ELF file (bsc#1033089).\n- CVE-2018-18310: Fixed an invalid address read in dwfl_segment_report_module.c (bsc#1111973).\n- CVE-2018-18520: Fixed bad handling of ar files inside are files (bsc#1112726).\n","status":"published","published":"2019-07-03T11:54:57Z","modified":"2026-02-04T04:19:20.749976Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"USN-3670-1","title":"elfutils vulnerabilities","description":"Agostino Sarubbo discovered that elfutils incorrectly handled certain\nmalformed ELF files. If a user or automated system were tricked into\nprocessing a specially crafted ELF file, elfutils could be made to crash or\nconsume resources, resulting in a denial of service.\n","status":"published","published":"2018-06-05T14:13:40Z","modified":"2026-04-22T09:46:27.800439Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
