CVE-2025-1149: GNU Binutils ld xmalloc.c xstrdup memory leak

Published Feb 10, 2025
·
Updated

A vulnerability was found in GNU Binutils 2.43. It has been classified as problematic. This affects the function xstrdup of the file libiberty/xmalloc.c of the component ld. The manipulation leads to memory leak. It is possible to initiate 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."

Other sources

GNU Binutils ld xmalloc.c xstrdup memory leak

Microsoft

Affected Software

5 affected components
GNU binutils=2.43
GNU binutils=2.43
Microsoft cbl2 gcc 11.2.0-8
Microsoft azl3 gcc 13.2.0-7
Microsoft cbl2 gcc 11.2.0-9

Event History

Feb 10, 2025
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
DescriptionSeverityWeakness
Sep 3, 2025
Data Sourced
via Microsoft·11:38 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:38 PM
Affected Software
Updated
via Microsoft·11:38 PM
DescriptionSeverity
Updated
via Microsoft·11:38 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-1149?

CVE-2025-1149 is classified as a problematic vulnerability due to its potential for memory leaks.

2

How do I fix CVE-2025-1149?

To mitigate CVE-2025-1149, update GNU Binutils to version 2.44 or later, where the vulnerability is addressed.

3

What component is affected by CVE-2025-1149?

CVE-2025-1149 affects the xstrdup function in the libiberty/xmalloc.c file of the GNU Binutils component.

4

Can CVE-2025-1149 be exploited remotely?

Yes, CVE-2025-1149 can potentially be initiated through a remote attack.

5

What version of GNU Binutils is affected by CVE-2025-1149?

GNU Binutils version 2.43 is the affected version in relation to CVE-2025-1149.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203