CVE Catalog

CVE-2018-18700

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.69%

77th percentile - higher than 77% of all known CVEs

Summary

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.

Risk Assessment

An attacker can cause a crash or hang in applications processing untrusted ELF files (e.g., nm, objdump), leading to denial of service. In environments handling untrusted input, this may disrupt critical processes.

Recommendation

Update GNU Binutils to a version containing the fix or avoid processing untrusted ELF files with vulnerable tools. Consider restricting access to binutils tools for untrusted users.

Other vulnerabilities in GNU Binutils

See all
Original NVD description (English source)

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS