Process crash via oversized array index
Published May 21, 2025 · Updated May 21, 2025
Integer overflow in jq 1.7.1 and earlier allows context-dependent attackers to crash the process through an oversized array index. In src/jv.c, jv_array_set passes index 2147483647 to jvp_array_write, where adding one overflows a signed integer used to grow the array and causes invalid memory access. Exploitation requires jq to evaluate an attacker-influenced filter or JSON structure; only the jq process crashes, with no reported data disclosure or modification.
Summary
What happened
Integer overflow in jq 1.7.1 and earlier allows context-dependent attackers to crash the process through an oversized array index. In src/jv.c, jv_array_set passes index 2147483647 to jvp_array_write, where adding one overflows a signed integer used to grow the array and causes invalid memory access. Exploitation requires jq to evaluate an attacker-influenced filter or JSON structure; only the jq process crashes, with no reported data disclosure or modification.
The record
- CVE
- CVE-2024-23337
- Published
- May 21, 2025
- Updated
- May 21, 2025
- Vendor
- jqlang
- Product
- jq
- Classifications
- CWE-190, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2025CVE publishedPublication date reported by the CVE source.
- May 21, 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=<= 1.7.1
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
- Upstream oversized-index crash proof of conceptproof 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