CVE-2025-48060 Details
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.
A heap-buffer-overflow vulnerability has been identified in jq, a command-line JSON processor, in versions through 1.7.1. The issue arises in the jv_string_vfmt function, within the jq_fuzz_execute harness from oss-fuzz. The vulnerability was triggered during fuzz testing, leading to a crash caused by a heap-buffer-overflow error. The problem originates from improper memory allocation, where the allocated buffer size is insufficient, allowing for out-of-bounds memory access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w | CISA-ADP | ExploitVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/09/msg00022.html | CVE | |
| https://github.com/jqlang/jq/security/advisories/GHSA-p7rr-28xf-3m5w | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jqlang jq | <= 1.7.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Jun 20, 2025 | Initial Analysis | [email protected] |
| May 21, 2025 | CVE Modified | CISA-ADP |
| May 21, 2025 | New CVE Received | [email protected] |