CVE-2023-50246 json
jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c
published 2023-12-13 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-55064
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- jq_project jq 1.7.1
- jqlang jq 1.7.1
- jq Debian 14, Debian 13 1.7.1-1
debian advisories DEBIAN-CVE-2023-50246
- jq SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 1.7.1-150000.3.25.1
- jq Linux Micro 6.0 1.7.1-1.1
suse advisories SUSE-SU-2026:4275-1SUSE-SU-2026:23873-1
- jq openSUSE Tumbleweed 1.7.1-1.1
opensuse advisories openSUSE-SU-2024:13521-1
- jq Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 1.7.1-r0
alpine advisories ALPINE-CVE-2023-50246
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-50246 updated cvss 6.2
jq: heap buffer overflow in function decToString() in decNumber.c
-
Red Hat Ceph Storage 4 jq Red Hat Enterprise Linux 8 jq Red Hat Enterprise Linux 9 jqnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- jqlang jq
Classification
References
-
github.com
/jqlang/jq/commit/71c2ab509a8628dbbad4bc7b3f98a64aa90d3297
patch
-
openwall.com
/lists/oss-security/2023/12/15/10
mailing-list, patch, third-party-advisory
-
github.com
/jqlang/jq/security/advisories/GHSA-686w-5m7m-54vc
exploit, vendor-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=64574
mailing-list
Sources
- CVE List CVE-2023-50246
- NVD CVE-2023-50246
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.