Vulnerability in Jqlang Jq
CVE-2024-53427
decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which has a resultant stack-based buffer overflow and out-of-bounds write, as demonstrated by use of --slurp with subtraction, such as a filter of .-. when the input has a certain form of digit string with NaN (e.g., "1 NaN123" immediately followed by many more digits).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (27.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 27.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Jqlang Jq — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/jqlang/jq/issues/3196 (Exploit, Issue Tracking, Vendor Advisory)
- gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92 (Third Party Advisory)
- github.com/jqlang/jq/blob/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297/src/decNumbe… (Product)
- github.com/jqlang/jq/security/advisories/GHSA-x6c3-qv5r-7q22 (Vendor Advisory)
- github.com/jqlang/jq/issues/3296 (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-53427?
- CVE-2024-53427 is a high-severity vulnerability in Jqlang Jq, classified under Access of Resource Using Incompatible Type (Type Confusion). CVSS score: 8.1/10. Published 2025-02-26.
- How severe is CVE-2024-53427?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2024-53427 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.