cve.bz

CVE-2023-50268 jqlang jq: Out-of-bounds Write

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5) in jqlang jq. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-50268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-50268?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-50268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-50268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jqlang:jq1.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14jq1.7.1-1DEBIAN-CVE-2023-50268
Ubuntu24.04:LTSjq1.7.1-2UBUNTU-CVE-2023-50268
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morejq1.7.1-150000.3.25.1SUSE-SU-2026:4275-1
SUSELinux Micro 6.0jq1.7.1-1.1SUSE-SU-2026:23873-1
openSUSETumbleweedjq1.7.1-1.1openSUSE-SU-2024:13521-1
Alpinev3.19, v3.21, v3.22 and 2 morejq1.7.1-r0ALPINE-CVE-2023-50268
Alpaquitastreamjq1.7.1-r0BELL-CVE-2023-50268

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 4jqNot affected
Red Hat Enterprise Linux 8jqNot affected
Red Hat Enterprise Linux 9jqNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-50268.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON