Skip to content
OpenAdvisories
Unscored CVE-2018-9138 EUVD-2018-20738GHSA-cwff-w289-23wm

An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ d…

Published Mar 30, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_nested_args, demangle_args, do_arg, and do_type.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.32.51.20190707-1 —
Debian 13 binutils 2.32.51.20190707-1 —
Debian 12 binutils 2.32.51.20190707-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS binutils 2.30-21ubuntu1~18.04.3 USN-4336-1
Ubuntu 18.04 LTS libiberty 20170913-1ubuntu0.1 USN-4326-1
Ubuntu 16.04 LTS libiberty 20160215-1ubuntu0.3 USN-4326-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS binutils 2.26.1-1ubuntu1~16.04.8+esm1 USN-4336-2
Ubuntu Pro 14.04 LTS binutils No fix yet —

Advisories 3

References