CVE-2023-50268 json
jq has stack-based buffer overflow in decNaNs
published 2023-12-13 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-55080
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. 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-50268
- jq Ubuntu 24.04 LTS 1.7.1-2
ubuntu advisories UBUNTU-CVE-2023-50268
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- 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-50268
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/jqlang/jq@c9a5156 commit
- github.com/jqlang/jq#2804 pull request
- openwall.com/lists/oss-security/2023/12/15/10 advisory
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-50268 updated cvss 6.2
jq: stack-based buffer overflow in builds using decNumber
-
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
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j 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/pull/2804
issue-tracking, patch
-
github.com
/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
patch
-
openwall.com
/lists/oss-security/2023/12/15/10
mailing-list, patch, third-party-advisory
-
github.com
/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j
exploit, vendor-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=64771
issue-tracking, mailing-list
Sources
- CVE List CVE-2023-50268
- NVD CVE-2023-50268
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.