Vulnerability · Published Feb 10, 2025 · Assigned by VulDB
CVE-2025-1152GNU Binutils ld xstrdup.c xstrdup 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 classified as problematic has been found in GNU Binutils 2.43. Affected is the function xstrdup of the file xstrdup.c of the component ld. The manipulation leads to memory leak. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told 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-1152 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-1152 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-1152 |
| Ubuntu:22.04:LTS | binutils | no fix listed | UBUNTU-CVE-2025-1152 |
| Ubuntu:24.04:LTS | binutils | no fix listed | UBUNTU-CVE-2025-1152 |
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-295056 | GNU Binutils ld xstrdup.c xstrdup memory leak vdb-entry, technical-description
- VDB-295056 | 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