Buffer overflow in Elfutils Project
CVE-2016-10255
The __libelf_set_rawdata_wrlock function in elf_getdata.c in elfutils before 0.168 allows remote attackers to cause a denial of service (crash) via a crafted (1) sh_off or (2) sh_size ELF header value, which triggers a memory allocation failure.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, fokypoky/places-list). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3670-1 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- GLSA-201710-10 (vendor-advisory)
- [oss-security] 20170322 Re: elfutils: memory allocation failure in __libelf_set_rawdata_wrlock (elf_getdata.c) (mailing-list, Mailing List, Third Party Advisory)
- [elfutils-devel] 20161021 [PATCH] libelf: Sanity check offset and size before trying to malloc and read data. (mailing-list)
- blogs.gentoo.org/ago/2016/11/04/elfutils-memory-allocation-failure-in-__libelf_… (Third Party Advisory)