Skip to content
OpenAdvisories
Unscored CVE-2018-20673 EUVD-2018-13224GHSA-jx5v-cp2v-88f2

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnera…

Published Jan 4, 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, contains an integer overflow vulnerability (for "Create an array for saving the template argument values") that can trigger a heap-based buffer overflow, as demonstrated by nm.

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 No fix yet —
Debian 13 binutils No fix yet —
Debian 12 binutils No fix yet —
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 cpp +24 8.5.0-3.el8 RHSA-2021:4386

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 cpp +11 8.5.0-3.el8.alma ALSA-2021:4386

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 gcc 8.5.0-3.el8 RLSA-2021:4386

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 crash 9.0.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cpp +24 8.5.0-3.0.2.el8 ELSA-2021-4386

Advisories 4

References