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.
History

Fri, 06 Jun 2025 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-126
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}


Tue, 03 Jun 2025 06:45:00 +0000

Type Values Removed Values Added
Metrics threat_severity

Important

threat_severity

Moderate


Thu, 22 May 2025 02:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Wed, 21 May 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 May 2025 17:45:00 +0000

Type Values Removed Values Added
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.
Title AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 7.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-05-21T17:32:43.602Z

Updated: 2025-05-21T18:39:28.901Z

Reserved: 2025-05-15T16:06:40.940Z

Link: CVE-2025-48060

cve-icon Vulnrichment

Updated: 2025-05-21T18:39:15.439Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-05-21T18:15:53.037

Modified: 2025-05-21T20:24:58.133

Link: CVE-2025-48060

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-05-21T17:32:43Z

Links: CVE-2025-48060 - Bugzilla