CVE-2025-1148: GNU Binutils ld ldelfgen.c link_order_scan memory leak
A vulnerability was found in GNU Binutils 2.43 and classified as problematic. Affected by this issue is the function linkorderscan 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."
Other sources
GNU Binutils ld ldelfgen.c linkorderscan memory leak
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.37-20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.41-11
Event History
Frequently Asked Questions
What is the severity of CVE-2025-1148?
CVE-2025-1148 is classified as a problematic vulnerability due to the potential for remote exploitation.
How do I fix CVE-2025-1148?
To fix CVE-2025-1148, upgrade to a patched version of GNU Binutils that resolves the memory leak issue.
What is the impact of CVE-2025-1148?
CVE-2025-1148 leads to a memory leak which may expose sensitive information to an attacker.
Can CVE-2025-1148 be exploited remotely?
Yes, CVE-2025-1148 can potentially be exploited remotely by an attacker.
Which version of GNU Binutils is affected by CVE-2025-1148?
GNU Binutils version 2.43 is affected by CVE-2025-1148.