Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-23337 EUVD-2024-20848

jq has signed integer overflow in jv.c:jvp_array_write

Published May 21, 2025 · Updated May 21, 2025 · Assigned by GitHub_M

Description

jq is a command-line JSON processor. In versions up to and including 1.7.1, an integer overflow arises when assigning value using an index of 2147483647, the signed integer limit. This causes a denial of service. Commit de21386681c0df0104a99d9d09db23a9b2a78b1e contains a patch for the issue.

Affected products

VendorProductAffectedFixed
jqlang jq <= 1.7.1 —

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-6 —
Debian 13 jq 1.7.1-6 —
Debian 12 jq No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS jq 1.7.1-3ubuntu0.24.04.1 USN-7657-1
Ubuntu 22.04 LTS jq 1.6-2.1ubuntu3.1 USN-7657-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS jq 1.6-1ubuntu0.20.04.1+esm1 USN-7657-2
Ubuntu Pro 18.04 LTS jq 1.5+dfsg-2ubuntu0.1~esm1 USN-7657-2
Ubuntu Pro 16.04 LTS jq 1.5+dfsg-1ubuntu0.1+esm3 USN-7657-2
ReleasePackageFixed inAdvisory
RHEL 10 jq +1 1.7.1-8.el10_0.1 RHSA-2025:12882
RHEL 9 jq +1 1.6-17.el9_6.2 RHSA-2025:10585
RHEL 8 jq +1 1.6-11.el8_10 RHSA-2025:10618
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS jq +1 1.6-16.el9_4.1 RHSA-2025:10613
RHEL 9.2 E4S jq 1.6-15.el9_2.2 RHSA-2025:10615
RHEL 9.0 E4S jq 1.6-12.el9_0.1 RHSA-2025:10616
RHEL 8.8 TUS jq 1.6-6.el8_8.3 RHSA-2025:10619
RHEL 8.8 E4S jq 1.6-6.el8_8.3 RHSA-2025:10619
RHEL 8.6 TUS jq 1.6-3.el8_6.1 RHSA-2025:10620
RHEL 8.6 EUS Long Life jq 1.6-3.el8_6.1 RHSA-2025:10620
RHEL 8.6 E4S jq 1.6-3.el8_6.1 RHSA-2025:10620
RHEL 8.6 AUS jq 1.6-3.el8_6.1 RHSA-2025:10620
RHEL 8.4 AUS jq 1.5-12.el8_4.4 RHSA-2025:10621
RHEL 8.2 AUS jq 1.5-12.el8_2.1 RHSA-2025:10622

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 jq +1 1.6-17.el9_6.2 ALSA-2025:10585
AlmaLinux 8 jq +1 1.6-11.el8_10 ALSA-2025:10618

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 jq 1.7.1-8.el10_0.1 RLSA-2025:12882
Rocky Linux 9 jq 1.6-17.el9_6.2 RLSA-2025:10585
Rocky Linux 8 jq 1.6-11.el8_10 RLSA-2025:10618
ReleasePackageFixed inAdvisory
SLES 15 SP7 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
SLES 15 SP6 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 jq 1.7.1-slfo.1.1_2.1 SUSE-SU-2025:20591-1
SLE Micro 6.0 jq 1.6-4.1 SUSE-SU-2025:20506-1
SLE Micro 5.5 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
SLE Micro 5.4 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
SLE Micro 5.3 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
SLE Micro 5.2 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
SLE Micro 5.1 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jq 1.8.1-1.1 openSUSE-SU-2025:15233-1
openSUSE Leap 15.6 jq 1.6-150000.3.6.1 SUSE-SU-2025:02384-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jq 1.8.0-r0 —
Alpine v3.23 jq 1.8.0-r0 —
Alpine v3.22 jq 1.8.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 jq +1 1.7.1-50.amzn2023 ALAS2023-2025-1112
Amazon Linux 2 jq +1 1.5-1.amzn2.0.3 ALAS2-2025-2943

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 jq 1.7.1-3 —
Azure Linux 2 (CBL-Mariner) jq 1.6-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 jq +1 1.7.1-8.el10_0.1 ELSA-2025-12882
Oracle Linux 9 jq +1 1.6-17.el9_6.2 ELSA-2025-10585
Oracle Linux 8 jq +1 1.6-11.el8_10 ELSA-2025-10618

Advisories 30

References