CVE-2025-1152
GNU Binutils ld xstrdup.c xstrdup memory leak
- State
- Published
- Severity
- 2.3 Low
- Published
- Feb 10, 2025
- Updated
- Feb 12, 2025
- Reserved
- Feb 10, 2025
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."
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulDB |
| 3.1 | 3.1 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L | VulDB |
| 3.0 | 3.1 Low | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L | VulDB |
| 2.0 | 2.6 Low | AV:N/AC:H/Au:N/C:N/I:N/A:P | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
BinutilsGNU |
|
References
- VDB-295056 | GNU Binutils ld xstrdup.c xstrdup memory leakvdb-entrytechnical-description
- VDB-295056 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- https://sourceware.org/bugzilla/show_bug.cgi?id=32576issue-tracking
- https://sourceware.org/bugzilla/attachment.cgi?id=15887exploit
- https://www.gnu.org/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.