CVE-2025-48060
jq vulnerability analysis and mitigation

Overview

jq, a command-line JSON processor, contains a heap-buffer-overflow vulnerability (CVE-2025-48060) discovered on May 21, 2025. The vulnerability affects versions up to and including 1.7.1 and is present in the function jv_string_vfmt within the jqfuzzexecute harness from oss-fuzz (GitHub Advisory, NVD).

Technical details

The vulnerability manifests as a heap-buffer-overflow that occurs during memory allocation in the jvstringvfmt function, specifically on line 1456 of jv.c at the void* p = malloc(sz); statement. According to the ASAN output, the vulnerability triggers a READ of size 2 at a memory location that is 0 bytes to the right of a 17-byte allocated region. The vulnerability has been assigned a CVSS v4.0 score of 7.7 (HIGH) with the vector string 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 (GitHub Advisory).

Impact

The heap-buffer-overflow vulnerability could potentially lead to memory corruption, program crashes, or potential code execution. The severity is rated as Moderate according to the security advisory (GitHub Advisory).

Mitigation and workarounds

As of the time of publication, no patched versions are available to address this vulnerability (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management