High severity8.1NVD Advisory· Published Feb 26, 2025· Updated Jun 17, 2026
CVE-2024-53427
CVE-2024-53427
Description
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
11- osv-coords8 versionspkg:apk/chainguard/jqpkg:apk/chainguard/jq-devpkg:apk/chainguard/jq-docpkg:apk/wolfi/jqpkg:apk/wolfi/jq-devpkg:apk/wolfi/jq-docpkg:rpm/opensuse/jq&distro=openSUSE%20Tumbleweedpkg:rpm/suse/jq&distro=SUSE%20Linux%20Micro%206.1
< 1.7.1-r4+ 7 more
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-r4
- (no CPE)range: < 1.7.1-3.1
- (no CPE)range: < 1.7.1-slfo.1.1_2.1
Patches
Vulnerability mechanics
References
5- github.com/jqlang/jq/issues/3196nvdExploitIssue TrackingVendor Advisory
- gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92nvdThird Party Advisory
- github.com/jqlang/jq/issues/3296nvdIssue TrackingVendor Advisory
- github.com/jqlang/jq/security/advisories/GHSA-x6c3-qv5r-7q22nvdVendor Advisory
- github.com/jqlang/jq/blob/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297/src/decNumber/decNumber.cnvdProduct
News mentions
0No linked articles in our index yet.