Skip to content
OpenAdvisories
High · 7.7 Public exploit CVE-2025-48060 EUVD-2025-16055

AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)

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

Description

jq is a command-line JSON processor. In versions up to and including 1.7.1, a heap-buffer-overflow is present in function `jv_string_vfmt` in the jq_fuzz_execute harness from oss-fuzz. This crash happens on file jv.c, line 1456 `void* p = malloc(sz);`. As of time of publication, no patched versions are available.

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.8.0-1 —
Debian 13 jq 1.7.1-6+deb13u1 —
Debian 12 jq 1.6-2.1+deb12u1 —
Debian 11 jq 1.6-2.1+deb11u1 DLA-4307-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS jq 1.8.1-3ubuntu1 —
Ubuntu 25.10 jq 1.8.1-3ubuntu1 —
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.9.1 SUSE-SU-2025:02915-1
SLES 15 SP6 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 jq 1.7.1-160000.3.1 SUSE-SU-2026:22566-1
SLES 16.0 jq 1.7.1-160000.3.1 SUSE-SU-2026:22566-1
SLE Micro 6.2 jq 1.7.1-160000.3.1 SUSE-SU-2026:22545-1
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-5.1 SUSE-SU-2025:20655-1
SLE Micro 5.5 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
SLE Micro 5.4 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
SLE Micro 5.3 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
SLE Micro 5.2 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
SLE Micro 5.1 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jq 1.8.1-1.1 openSUSE-SU-2025:15233-1
openSUSE Leap 16.0 jq 1.7.1-160000.3.1 openSUSE-SU-2026:21248-1
openSUSE Leap 15.6 jq 1.6-150000.3.9.1 SUSE-SU-2025:02915-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 —

Azure Linux

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

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

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 34

References