Process-memory exhaustion via unreleased linker allocations
Published Feb 10, 2025 · Updated Apr 4, 2025
Memory leak in GNU Binutils ld 2.43 allows remote attackers to exhaust process memory through a crafted linker input. In link_order_scan and related linker-script paths, allocations made with xmalloc remain unreleased because parser memory lacks consistent lifetime cleanup. The issue is reached only when a user runs ld on attacker-controlled input, and its bounded effect is increased process memory consumption.
Summary
What happened
Memory leak in GNU Binutils ld 2.43 allows remote attackers to exhaust process memory through a crafted linker input. In link_order_scan and related linker-script paths, allocations made with xmalloc remain unreleased because parser memory lacks consistent lifetime cleanup. The issue is reached only when a user runs ld on attacker-controlled input, and its bounded effect is increased process memory consumption.
The record
- CVE
- CVE-2025-1148
- Published
- Feb 10, 2025
- Updated
- Apr 4, 2025
- Vendor
- The GnuPG Project
- Product
- GNU Binutils
- Classifications
- CWE-401, CWE-404, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 10, 2025CVE publishedPublication date reported by the CVE source.
- Apr 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.43
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Sourceware Bug 32576 proof-of-concept attachmentproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo