AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
Summary
AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2025-48060 jq Fixed in: 1.8.0-r0
- Debian DEBIAN-CVE-2025-48060 jq Fixed in: 1.6-2.1+deb11u1
- Ubuntu UBUNTU-CVE-2025-48060 jq Fixed in: 1.5+dfsg-1ubuntu0.1+esm3
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web lists.debian.org