nm crash via misclassified IFUNC symbols
Published Feb 10, 2025 · Updated Apr 4, 2025
Uninitialized-data handling in GNU Binutils nm 2.43 allows attackers to crash nm by processing a crafted object file with specific options. print_symbol overwrites an IFUNC symbol's type with the --ifunc-chars value, so a hyphen makes later formatters treat it as a stabs symbol and print uninitialized stabs fields. Exploitation requires a user to run nm with --ifunc-chars=-- on an object containing an IFUNC symbol; the bounded consequence is a segmentation fault in that nm process.
Summary
What happened
Uninitialized-data handling in GNU Binutils nm 2.43 allows attackers to crash nm by processing a crafted object file with specific options. print_symbol overwrites an IFUNC symbol's type with the --ifunc-chars value, so a hyphen makes later formatters treat it as a stabs symbol and print uninitialized stabs fields. Exploitation requires a user to run nm with --ifunc-chars=-- on an object containing an IFUNC symbol; the bounded consequence is a segmentation fault in that nm process.
The record
- CVE
- CVE-2025-1147
- Published
- Feb 10, 2025
- Updated
- Apr 4, 2025
- Vendor
- The GnuPG Project
- Product
- GNU Binutils
- Classifications
- CWE-119, CWE-120, T1204.002
- 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?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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 nm crash reproducerproof 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