CVE-2025-48060 AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
HighCVSS 7.7
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cm2 jq 1.6-4 | < 1.6-4 | 1.6-4 |
| azure linux jq(Azure Linux:3.0) | < 1.7.1-4 | 1.7.1-4 |
| cbl-mariner jq(CBL-Mariner:2.0) | < 1.6-4 | 1.6-4 |
| debian/jq(Debian:12) | < 1.6-2.1+deb12u1 | 1.6-2.1+deb12u1 |
| debian/jq(Debian:12) | = 1.6-2.1 | No fix listed |
| debian/jq(Debian:13) | < 1.7.1-6+deb13u1 | 1.7.1-6+deb13u1 |
| debian/jq(Debian:14) | < 1.8.0-1 | 1.8.0-1 |
| jqlang jq | = <= 1.7.1 | No fix listed |
| ubuntu/jq(Ubuntu:22.04) | < 1.6-2.1ubuntu3.1 | 1.6-2.1ubuntu3.1 |
| ubuntu/jq(Ubuntu:24.04) | < 1.7.1-3ubuntu0.24.04.1 | 1.7.1-3ubuntu0.24.04.1 |
| ubuntu/jq(Ubuntu:26.04) | < 1.8.1-3ubuntu1 | 1.8.1-3ubuntu1 |
| jqlang jq | <= 1.7.1 | No fix listed |
| alpine/jq(Alpine:v3.21) | < 1.8.2-r0 | 1.8.2-r0 |
| alpine/jq(Alpine:v3.22) | < 1.8.0-r0 | 1.8.0-r0 |
| alpine/jq(Alpine:v3.23) | < 1.8.0-r0 | 1.8.0-r0 |
| alpine/jq(Alpine:v3.24) | < 1.8.0-r0 | 1.8.0-r0 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-48060 vendor-advisory
- https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w exploit vendor-advisory
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-7657-1 vendor-advisory
- USN-7657-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking