Process crash via NaN comparison overflow
Published Feb 26, 2025 · Updated Mar 28, 2025
Stack-based buffer overflow in jq 1.7.1 and earlier allows local users to crash the process via a crafted NaN payload. decNumberCopy treats a NaN carrying at least ten decimal payload digits as numeric and copies it past the stack-allocated comparison result. The flaw is reached when jq compares attacker-controlled numeric input, and the published proof demonstrates an AddressSanitizer abort rather than code execution.
Summary
What happened
Stack-based buffer overflow in jq 1.7.1 and earlier allows local users to crash the process via a crafted NaN payload. decNumberCopy treats a NaN carrying at least ten decimal payload digits as numeric and copies it past the stack-allocated comparison result. The flaw is reached when jq compares attacker-controlled numeric input, and the published proof demonstrates an AddressSanitizer abort rather than code execution.
The record
- CVE
- CVE-2024-53427
- Published
- Feb 26, 2025
- Updated
- Mar 28, 2025
- Vendor
- jqlang
- Product
- jq
- Classifications
- CWE-843, CWE-121, T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- Mar 28, 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=0 <=1.7.1
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
- Again, stack-buffer-overflow when comparing nan with payloadproof of concept · demonstrated
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