Vulnerability · Published Feb 10, 2025 · Assigned by VulDB
CVE-2025-1151GNU Binutils ld xmemdup.c xmemdup memory leak
Low 3.1
In plain English
A low-severity memory leak in Binutils from GNU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in GNU Binutils 2.43. It has been rated as problematic. This issue affects the function xmemdup of the file xmemdup.c of the component ld. The manipulation leads to memory leak. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The code maintainer explains: "I'm not going to commit some of the leak fixes I've been working on to the 2.44 branch due to concern that would destabilise ld. All of the reported leaks in this bugzilla have been fixed on binutils master."
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | binutils | no fix listed | DEBIAN-CVE-2025-1151 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-1151 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-1151 |
| Ubuntu:22.04:LTS | binutils | no fix listed | UBUNTU-CVE-2025-1151 |
| Ubuntu:24.04:LTS | binutils | no fix listed | UBUNTU-CVE-2025-1151 |
| Ubuntu:25.10 | binutils | no fix listed | UBUNTU-CVE-2025-1151 |
| Ubuntu:26.04:LTS | binutils | no fix listed | UBUNTU-CVE-2025-1151 |
| Ubuntu:26.10 | binutils | no fix listed | UBUNTU-CVE-2025-1151 |
Affected products (as reported)
Weakness: CWE-401, CWE-404 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- VDB-295055 | GNU Binutils ld xmemdup.c xmemdup memory leak vdb-entry, technical-description
- VDB-295055 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- https://sourceware.org/bugzilla/show_bug.cgi?id=32576 issue-tracking
- https://sourceware.org/bugzilla/attachment.cgi?id=15887 exploit
- https://www.gnu.org/ product