Vulnerability · Published May 21, 2025 · Assigned by GitHub_M
CVE-2025-48060AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
High 7.7
In plain English
A high-severity stack buffer overflow in jq from jqlang. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | jq | 1.6-11.el8_10 | ALSA-2025:10618 |
| AlmaLinux:9 | jq | 1.6-17.el9_6.2 | ALSA-2025:10585 |
| AlmaLinux:8 | jq-devel | 1.6-11.el8_10 | ALSA-2025:10618 |
| AlmaLinux:9 | jq-devel | 1.6-17.el9_6.2 | ALSA-2025:10585 |
| Alpine:v3.22 | jq | 1.8.0-r0 | ALPINE-CVE-2025-48060 |
| Alpine:v3.23 | jq | 1.8.0-r0 | ALPINE-CVE-2025-48060 |
| Alpine:v3.24 | jq | 1.8.0-r0 | ALPINE-CVE-2025-48060 |
| Debian:12 | jq | 1.6-2.1+deb12u1 | DEBIAN-CVE-2025-48060 |
| Debian:13 | jq | 1.7.1-6+deb13u1 | DEBIAN-CVE-2025-48060 |
| Debian:14 | jq | 1.8.0-1 | DEBIAN-CVE-2025-48060 |
| Rocky Linux:10 | jq | 0:1.7.1-8.el10_0.1 | RLSA-2025:12882 |
| Rocky Linux:8 | jq | 0:1.6-11.el8_10 | RLSA-2025:10618 |
| Rocky Linux:9 | jq | 0:1.6-17.el9_6.2 | RLSA-2025:10585 |
| Ubuntu:22.04:LTS | jq | 1.6-2.1ubuntu3.1 | USN-7657-1 |
| Ubuntu:22.04:LTS | jq | 1.6-2.1ubuntu3.1 | UBUNTU-CVE-2025-48060 |
| Ubuntu:24.04:LTS | jq | 1.7.1-3ubuntu0.24.04.1 | USN-7657-1 |
| Ubuntu:24.04:LTS | jq | 1.7.1-3ubuntu0.24.04.1 | UBUNTU-CVE-2025-48060 |
| Ubuntu:25.10 | jq | 1.8.1-3ubuntu1 | UBUNTU-CVE-2025-48060 |
| Ubuntu:26.04:LTS | jq | 1.8.1-3ubuntu1 | UBUNTU-CVE-2025-48060 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P