Heap-based buffer overflow in Binutils - CVE-2018-19931

 

Heap-based buffer overflow in Binutils - CVE-2018-19931

Published: December 7, 2018 / Updated: December 10, 2018


Vulnerability identifier: #VU16338
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-19931
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Binutils

Detailed vulnerability description

The vulnerability allows a local attacker to cause DoS condition on the target system.

The vulnerability exists due to heap-based buffer overflow in the bfd_elf32_swap_phdr_in function, as defined in the elfcode.h source code file when handling malicious input. A local attacker can supply a specially crafted file that may trigger memory corruption and cause the service to crash.


How to mitigate CVE-2018-19931

Update to version 2.31.1.

Sources