High severity · published Feb 26, 2025
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…
8.1
CVSS
0.4%
EPSS
No
On KEV
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).
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JQ
JQ · Jqlang
through 1.7.1 · source: NVD
Affected product
JQ
JQ
Jqlang
More from JQ
7.5
CVE-2026-40164
jq: Algorithmic complexity DoS via hardcoded MurmurHash3 seed
7.5
CVE-2026-32316
jq: Integer overflow in jvp_string_append() allows Heap-based Buffer Overflow
7.5
CVE-2025-48060
jq is a command-line JSON processor
7.5
CVE-2023-49355
decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input
7.1
CVE-2026-49839
jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow