CVE-2018-20673

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 26%
Affected Products (NVD)
VendorProductVersion
gnubinutils
2.31.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
binutils
bookworm
unimportant
bullseye
unimportant
sid
unimportant
trixie
unimportant
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
binutils
bionic
ignored
cosmic
ignored
disco
ignored
eoan
ignored
focal
not-affected
groovy
not-affected
hirsute
not-affected
impish
not-affected
jammy
not-affected
trusty
ignored
xenial
ignored
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
cpp
RHEL 8
0:8.5.0-3.el8
fixed
gcc
RHEL 8
0:8.5.0-3.el8
fixed
gcc-c
RHEL 8
0:8.5.0-3.el8
fixed
gcc-gdb-plugin
RHEL 8
0:8.5.0-3.el8
fixed
gcc-gfortran
RHEL 8
0:8.5.0-3.el8
fixed
gcc-offload-nvptx
RHEL 8
0:8.5.0-3.el8
fixed
gcc-plugin-devel
RHEL 8
0:8.5.0-3.el8
fixed
libasan
RHEL 8
0:8.5.0-3.el8
fixed
libatomic
RHEL 8
0:8.5.0-3.el8
fixed
libatomic-static
RHEL 8
0:8.5.0-3.el8
fixed
libgcc
RHEL 8
0:8.5.0-3.el8
fixed
libgfortran
RHEL 8
0:8.5.0-3.el8
fixed
libgomp
RHEL 8
0:8.5.0-3.el8
fixed
libgomp-offload-nvptx
RHEL 8
0:8.5.0-3.el8
fixed
libitm
RHEL 8
0:8.5.0-3.el8
fixed
libitm-devel
RHEL 8
0:8.5.0-3.el8
fixed
liblsan
RHEL 8
0:8.5.0-3.el8
fixed
libquadmath
RHEL 8
0:8.5.0-3.el8
fixed
libquadmath-devel
RHEL 8
0:8.5.0-3.el8
fixed
libstdc
RHEL 8
0:8.5.0-3.el8
fixed
libtsan
RHEL 8
0:8.5.0-3.el8
fixed
libubsan
RHEL 8
0:8.5.0-3.el8
fixed