Medium severity · published Dec 13, 2023
CVE-2023-50246
jq is a command-line JSON processor
5.5
CVSS
0.5%
EPSS
No
On KEV
Description
jq is a command-line JSON processor. Version 1.7 is vulnerable to heap-based buffer overflow. Version 1.7.1 contains a patch for this issue.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JQ
JQ · Jqlang
1.7; 1.7; 1.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-50246
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-50246
Mailing List
http://www.openwall.com/lists/oss-security/2023/12/15/10
Mailing List
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64574
Patch
https://github.com/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297
Exploit
https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc
More from JQ
8.1
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…
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
