CVE-2017-9954

Published: 26 June 2017

The getvalue function in tekhex.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted tekhex file, as demonstrated by mishandling within the nm program.

Priority

Low

CVSS 3 base score: 5.5

Status

Package Release Status
binutils
Launchpad, Ubuntu, Debian
Upstream
Released (2.29)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(2.29-1ubuntu1)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(2.29-1ubuntu1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(2.29-1ubuntu1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (2.26.1-1ubuntu1~16.04.8+esm1)
Ubuntu 14.04 ESM (Trusty Tahr) Needs triage

Patches:
Upstream: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=04e15b4a9462cb1ae819e878a6009829aab8020b
Upstream: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2d68166e8704569eeceb76ac743ea1e7cca2af26

Notes

AuthorNote
ratliff
reproducer doesn't crash on trusty,zesty (no ASAN)
sbeattie
second commit is a partial revert of the first, correcting a
leaked in change.

References

Bugs