22 matches found
CVE-2024-53427
The CVE-2024-53427 issue in jq (through 1.7.1) arises from decNumberCopy in decNumber.c misinterpreting NaN as numeric, leading to a stack-based buffer overflow and out-of-bounds write. Demonstrated by using --slurp with subtraction on certain digit strings containing NaN (e.g., "1 NaN123" follow...
CVE-2025-48060
CVE-2025-48060 affects jq up to version 1.7.1, where a heap-buffer-overflow in the jv_string_vfmt path can crash the process when formatting strings (OSS-Fuzz harness). The issue is triggered in jq_fuzz_execute and references malloc in jv.c. As of publication, no patch existed in the initial desc...
CVE-2024-23337
CVE-2024-23337 : The issue affects the jq JSON processor, with vulnerable behavior in versions up to 1.7.1 due to an integer overflow when assigning a value using the index 2147483647 (the signed integer limit). The root cause is described in the commit de21386681c0df0104a99d9d09db23a9b2a78b1e, w...
CVE-2026-32316
CVE-2026-32316 affects jq up to and including 1.8.1, where the functions jvp_string_append() and jvp_string_copy_replace_bad() lack string size bounds checks. Concatenating strings that exceed 2^31 bytes causes a 32-bit unsigned overflow in buffer allocation, producing a heap buffer overflow (CWE...
CVE-2026-39979
CVE-2026-39979 affects jq’s libjq jv_parse_sized() path when given a non-NUL-terminated counted buffer. The error handling formats the input with %s in jv_string_fmt(), reading until a NUL and ignoring the caller length, which can trigger an out-of-bounds read on malformed input. Exploitation is ...
CVE-2023-50246
CVE-2023-50246 affects jq (command-line JSON processor). The connected OSSV entry specifies a heap-based buffer overflow in the decToString function of decNumber.c affecting version 1.7, with a patch released in version 1.7.1. The description confirms the vulnerability class and the fix, but does...
CVE-2026-43896
CVE-2026-43896 (jq) : In jq versions 1.8.1 and earlier, unbounded recursion in the function jv_object_merge_recursive() can cause a crafted jq program to crash the process with a segfault when using the object operator (*) on two objects. Affected component is the jq JSON processor; the vulnerabi...
CVE-2026-41256
The CVE affects jq up to version 1.8.1. Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by � and arbitrary suffix compiles and executes as only the prefix before the NUL, leading to a ...
CVE-2026-49839
Summary: CVE-2026-49839 affects jq prior to 1.8.2, where in the --rawfile path an oversized string can trigger invalid-state reuse and heap-buffer-overflow writes. In detail, when jv_load_file(raw=1) reads attacker-controlled data, file chunks are appended to a single jv string accumulator; after...
CVE-2023-49355
The CVE-2023-49355 entry concerns jq (commit 88f01a7) with a vulnerability in decToString in decNumber/decNumber.c where a one-byte out-of-bounds write occurs from input like []-1.2e-1111111111. This is tied to the decNumber path and affects the jq code path processing numeric literals. The provi...
CVE-2026-47770
The CVE-2026-47770 issue affects jq (the JSON processor) where comparing deeply nested arrays with the == operator can cause stack exhaustion via recursive structural comparison in src/jv.c (jvp_array_equal, jv_equal) and overflow in jv_cmp in src/jv_aux.c. This leads to a denial of service on at...
CVE-2023-50268
CVE-2023-50268 concerns jq, a command-line JSON processor. Multiple sources confirm: jq 1.7 is vulnerable to a stack-based buffer overflow in builds using decNumber; a patch is included in version 1.7.1. Practical impact is not elaborated beyond the buffer overflow description in the provided doc...
CVE-2026-54679
CVE-2026-54679 affects the jq tool prior to version 1.8.2 on 32-bit systems. The vulnerability is in jvp_string_append where an integer overflow could trigger a massive buffer overrun, with a local attack vector and potential high impact on availability as described in the CVE. The issue is fixed...
CVE-2026-44777
CVE-2026-44777 affects the jq command-line JSON processor. In versions 1.8.2rc1 and earlier, the ordinary module loader recurses without cycle detection when two otherwise valid modules include each other, leading to a stack overflow during mutual module loading. The connected documents confirm t...
CVE-2026-33947
Vulnerability summary (CVE-2026-33947) : In jq ≤ 1.8.1, functions jv_setpath(), jv_getpath(), and delpaths_sorted() in src/jv_aux.c perform unbounded recursion whose depth is driven by a caller-supplied path array. A crafted JSON input (flat array ~65,000 integers, ~200 KB) used as a path argumen...
CVE-2026-39956
CVE-2026-39956 affects the jq JSON processor. The issue arises from the _strindices builtin in jq's src/builtin.c, which passes arguments directly to jv_string_indexes() without validating they are strings. In src/jv.c, the checks in jv_string_indexes() rely on asserts that are stripped in releas...
CVE-2026-43895
jq versions 1.8.1 and earlier are affected: embedded NUL bytes in import paths at the jq-language level can be resolved differently during module/data-file lookup, creating a mismatch between the logical import string and the on-disk path opened. This mismatch can enable a local redaction-policy ...
CVE-2026-43894
CVE-2026-43894 affects jq up to version 1.8.1 and earlier. The root cause is a signed-int overflow in decNumberFromString’s D2U() macro, causing a wrap to a negative value, bypassing the heap-size check and using a 30-byte stack buffer. This results in writing ~715 million 16-bit units (≈1.4 GiB)...
CVE-2025-9403
CVE-2025-9403 affects jqlang jq up to version 1.6, specifically the JSON Parser’s jq_test.c run_jq_tests function. The underlying issue enables a reachable assertion with local access; exploitation has been publicly disclosed. Connected documents indicate a patched version is available (e.g., jq
CVE-2026-33948
CVE-2026-33948 affects jq, a command-line JSON processor. Before commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b, input parsing uses strlen() on data read from files or stdin, causing truncation at the first NUL byte and validating only the prefix as JSON. This enables an attacker to craft input ...
CVE-2026-41257
The CVE concerns jq (1.8.1 and earlier) where the bytecode VM’s data stack uses a signed int to track allocation size. When the stack grows beyond ~1 GiB (e.g., via deeply nested generator forks), the doubling arithmetic overflows, causing the wrapped value to be passed to realloc and then used f...
CVE-2026-40612
CVE-2026-40612 affects jq (1.8.1 and earlier). The root cause is an unbounded recursion in the function jv_contains that recurses into nested arrays/objects with no depth limit, eventually exhausting the C stack when presented with a deeply nested input (constructed programmatically with reduce, ...