CVE-2024-23337
jq has signed integer overflow in jv.c:jvp_array_write
Reported by github_m · Published May 21, 2025
jq is a command-line JSON processor. In versions up to and including 1.7.1, an integer overflow arises when assigning value using an index of 2147483647, the signed integer limit. This causes a denial of service. Commit de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jq | Alpine | 1.8.2-r0, 1.8.0-r0 |
| jq-devel | Amazon Linux | 1.7.1-50.amzn2023, 1.5-1.amzn2.0.3 |
| jq | Amazon Linux | 1.5-1.amzn2.0.3 |
| jq | jqlang | 1.7.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jqlang | jq | <= 1.7.1 |
| alpine | jq | 0, 0 |
| amazon:2023 | jq-devel | 0 |
| amazon:2 | jq-devel | 0 |
| amazon:2 | jq | 0 |
| jqlang | jq | 0 |
| amazon:2023 | jq | 0 |
Timeline
- May 21, 2025 CVE Published
- May 21, 2025 CVE Updated
- May 22, 2025 EPSS Score (30 in total, the first dated here)
- Jun 21, 2025 Coalition ESS Score (6 in total, the first dated here)
- Jan 17, 2026 Security Advisory (22 in total, the first dated here)
- Apr 18, 2026 PoC Published
- Oct 23, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23337
vulnetix vdb fixes CVE-2024-23337
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23337/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jqlang/jq/security/advisories/GHSA-2q6r-344g-cx46 x_refsource_CONFIRM
- https://github.com/jqlang/jq/issues/3262 x_refsource_MISC
- https://github.com/jqlang/jq/commit/de21386681c0df0104a99d9d09db23a9b2a78b1e x_refsource_MISC