Skip to content
OpenAdvisories
Medium · 6.2 CVE-2023-50246 EUVD-2023-55064

jq has heap-buffer-overflow vulnerability in the function decToString in decNumber.c

Published Dec 13, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
jqlang jq = 1.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jq 1.7.1-1 —
Debian 13 jq 1.7.1-1 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLES 15 SP6 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLES 15 SP5 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLES 15 SP4 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLES for SAP 15 SP5 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLES for SAP 15 SP4 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLE Micro 6.0 jq 1.7.1-1.1 SUSE-SU-2026:23873-1
SLE Micro 5.5 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLE Micro 5.4 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLE Micro 5.3 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLE HPC 15 SP5 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
SLE HPC 15 SP4 jq 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jq 1.7.1-1.1 openSUSE-SU-2024:13521-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jq 1.7.1-r0 —
Alpine v3.23 jq 1.7.1-r0 —
Alpine v3.22 jq 1.7.1-r0 —
Alpine v3.19 jq 1.7.1-r0 —

Advisories 3

References