CVE-2018-17985: GNU Binutils

Medium severity, CVSS 5.5. EPSS: 1.3% chance of exploitation in the next 30 days.

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.

Affected products

  • GNU Binutils: version 2.31 only

Published 2018-10-04. Last modified 2026-06-17.