Skip to content
OpenAdvisories
Unscored CVE-2018-12641 EUVD-2018-4597GHSA-4cqc-25m3-f64g

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

Published Jun 22, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_arm_hp_template, demangle_class_name, demangle_fund_type, do_type, do_arg, demangle_args, and demangle_nested_args. This can occur during execution of nm-new.

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
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 —
ReleasePackageFixed inAdvisory
RHEL 7 binutils +1 2.27-41.base.el7 RHSA-2019:2075

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 binutils +1 2.29.1-29.amzn2 ALAS2-2019-1358

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 binutils +1 2.27-41.base.0.2.el7 ELSA-2019-2075

Advisories 7

References