# CVE-2025-1152: GNU Binutils ld xstrdup.c xstrdup memory leak

- Severity: Low 2.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-10T18:00:09.779Z
- Modified: 2026-06-17T08:38:28.487Z
- Weaknesses: CWE-401, CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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."

(As written by CVE List.)

## Affected

- GNU Binutils: 2.43

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:N/I:N/A:P`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://sourceware.org/bugzilla/attachment.cgi?id=15887> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.295056> (permissions-required, technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.295056> (permissions-required, signature, vdb-entry)
- <https://sourceware.org/bugzilla/show_bug.cgi?id=32576> (issue-tracking)
- <https://www.gnu.org/> (product)

## Sources

- CVE List: [CVE-2025-1152](https://www.cve.org/CVERecord?id=CVE-2025-1152), CVE Terms of Use, modified 2025-02-12
- NVD: [CVE-2025-1152](https://nvd.nist.gov/vuln/detail/CVE-2025-1152), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1152 · Whole record: https://cve.day/CVE-2025-1152.json · Rebuilt by cve.day 2026-11-25T22:58:53.928Z
