Vulnerability · Published Feb 10, 2025 · Assigned by VulDB
CVE-2025-1148GNU Binutils ld ldelfgen.c link_order_scan 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 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in GNU Binutils 2.43 and classified as problematic. Affected by this issue is the function link_order_scan of the file ld/ldelfgen.c of the component ld. The manipulation leads to memory leak. The attack may be launched 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-1148 |
| Debian:13 | binutils | no fix listed | DEBIAN-CVE-2025-1148 |
| Debian:14 | binutils | 2.45-3 | DEBIAN-CVE-2025-1148 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.10 | USN-7847-1 |
| Ubuntu:22.04:LTS | binutils | 2.38-4ubuntu2.10 | UBUNTU-CVE-2025-1148 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.6 | USN-7847-1 |
| Ubuntu:24.04:LTS | binutils | 2.42-4ubuntu2.6 | UBUNTU-CVE-2025-1148 |
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-295052 | GNU Binutils ld ldelfgen.c link_order_scan memory leak vdb-entry, technical-description
- VDB-295052 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #485747 | GNU binutils/ld 2.43 Memory Leak third-party-advisory
- 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
- https://security.netapp.com/advisory/ntap-20250404-0004/