Description
demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call. This can occur during execution of objdump.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | binutils | 2.32.51.20190707-1 | — |
| Debian 13 | binutils | 2.32.51.20190707-1 | — |
| Debian 12 | binutils | 2.32.51.20190707-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | binutils | 2.30-21ubuntu1~18.04.3 | USN-4336-1 |
| Ubuntu 18.04 LTS | libiberty | 20170913-1ubuntu0.1 | USN-4326-1 |
| Ubuntu 16.04 LTS | libiberty | 20160215-1ubuntu0.3 | USN-4326-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | binutils | 2.26.1-1ubuntu1~16.04.8+esm1 | USN-4336-2 |
| Ubuntu Pro 14.04 LTS | binutils | No fix yet | — |
Advisories 3
- USN-4336-2 binutils vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-4336-1 binutils vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4326-1 libiberty vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
References
- https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102
- https://sourceware.org/bugzilla/show_bug.cgi?id=23057
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454
- 104539 vdb-entry
- GLSA-201908-01 vendor-advisory
- USN-4326-1 vendor-advisory
- USN-4336-1 vendor-advisory