Skip to content
OpenAdvisories
Unscored CVE-2018-20657 EUVD-2018-13208GHSA-qhfg-hc2h-mmfc

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted stri…

Published Jan 2, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.

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 Pro 18.04 LTS binutils No fix yet —
Ubuntu Pro 16.04 LTS binutils No fix yet —
Ubuntu Pro 14.04 LTS binutils No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 gdb +3 8.2-6.el8 RHSA-2019:3352

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 gdb +3 8.2-6.el8 ELSA-2019-3352

Advisories 3

References