CVE-2025-48060
published 2025-05-21CVE-2025-48060: 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…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.44%
35.3th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | jq | < jq 1.6-2.1+deb12u1 (bookworm) | jq 1.6-2.1+deb12u1 (bookworm) |
| jqlang | jq | <= 1.7.1 | — |
| jqlang | jq | >= 0 < 1.6-2.1+deb11u1 | 1.6-2.1+deb11u1 |
| jqlang | jq | >= 0 < 1.6-2.1+deb12u1 | 1.6-2.1+deb12u1 |
| jqlang | jq | >= 0 < 1.7.1-6+deb13u1 | 1.7.1-6+deb13u1 |
| jqlang | jq | >= 0 < 1.8.0-1 | 1.8.0-1 |
| jqlang | jq | >= 0 < 1.6-2.1ubuntu3.1 | 1.6-2.1ubuntu3.1 |
| jqlang | jq | >= 0 < 1.7.1-3ubuntu0.24.04.1 | 1.7.1-3ubuntu0.24.04.1 |
| jqlang | jq | >= 0 < 1.5+dfsg-1ubuntu0.1+esm3 | 1.5+dfsg-1ubuntu0.1+esm3 |
| jqlang | jq | >= 0 < 1.5+dfsg-2ubuntu0.1~esm1 | 1.5+dfsg-2ubuntu0.1~esm1 |
| jqlang | jq | >= 0 < 1.6-1ubuntu0.20.04.1+esm1 | 1.6-1ubuntu0.20.04.1+esm1 |
| msrc | azl3_jq_1.7.1-4_on_azure_linux_3.0 | — | — |
| msrc | cbl2_jq_1.6-4_on_cbl_mariner_2.0 | — | — |
| msrc | cm2_jq_1.6-4_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv4.07.7HIGHCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv7.7HIGH
vendor_debian7.7HIGH
vendor_redhat7.7HIGH
vendor_msrc7.5HIGH
vendor_oracle7.5HIGH
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
jq vulnerabilities
osv·2025-07-22·CVSS 6.5
CVE-2024-23337 [MEDIUM] jq vulnerabilities
jq vulnerabilities
USN-7657-1 fixed CVE-2024-23337 and CVE-2025-48060 in jq. This update
provides the corresponding fixes for Ubuntu 20.04 LTS, Ubuntu 18.04 LTS,
and Ubuntu 16.04 LTS.
Original advisory details:
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could possibly use this issue to cause jq to
crash, resulting in a denial of service. (CVE-2024-23337)
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could use this issue to cause jq to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-48060)
OSV
jq vulnerabilities
osv·2025-07-21·CVSS 6.5
CVE-2024-23337 [MEDIUM] jq vulnerabilities
jq vulnerabilities
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could possibly use this issue to cause jq to
crash, resulting in a denial of service. (CVE-2024-23337)
It was discovered that jq incorrectly handled NaN values when parsing JSON
data. A remote attacker could possibly use this issue to cause jq to crash,
resulting in a denial of service. This issue only affected Ubuntu 24.04
LTS, and Ubuntu 25.04. (CVE-2024-53427)
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could use this issue to cause jq to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-48060)
OSV
CVE-2025-48060: jq is a command-line JSON processor
osv·2025-05-21·CVSS 7.7
CVE-2025-48060 [HIGH] CVE-2025-48060: jq is a command-line JSON processor
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.
Oracle
Oracle Oracle Communications Risk Matrix: Third Party (jq) — CVE-2025-48060
vendor_oracle·2026-01-15·CVSS 7.5
CVE-2025-48060 [HIGH] Oracle Oracle Communications Risk Matrix: Third Party (jq) — CVE-2025-48060
Oracle Oracle Communications Risk Matrix: Third Party (jq) vulnerability
CVE: CVE-2025-48060
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2026 (JAN 2026)
Ubuntu
jq vulnerabilities
vendor_ubuntu·2025-07-22·CVSS 4.3
CVE-2025-48060 [MEDIUM] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
USN-7657-1 fixed CVE-2024-23337 and CVE-2025-48060 in jq. This update
provides the corresponding fixes for Ubuntu 20.04 LTS, Ubuntu 18.04 LTS,
and Ubuntu 16.04 LTS.
Original advisory details:
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could possibly use this issue to cause jq to
crash, resulting in a denial of service. (CVE-2024-23337)
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could use this issue to cause jq to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-48060)
Instructions: In general, a standard system update will make all the necessary changes
Ubuntu
jq vulnerabilities
vendor_ubuntu·2025-07-21·CVSS 4.3
CVE-2025-48060 [MEDIUM] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could possibly use this issue to cause jq to
crash, resulting in a denial of service. (CVE-2024-23337)
It was discovered that jq incorrectly handled NaN values when parsing JSON
data. A remote attacker could possibly use this issue to cause jq to crash,
resulting in a denial of service. This issue only affected Ubuntu 24.04
LTS, and Ubuntu 25.04. (CVE-2024-53427)
It was discovered that jq incorrectly handled certain values when parsing
JSON data. A remote attacker could use this issue to cause jq to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-48060)
Instructions: In
Red Hat
jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
vendor_redhat·2025-05-21·CVSS 7.7
CVE-2025-48060 [HIGH] CWE-126 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
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 flaw was found in jq, a command line JSON processor. A specially crafted input can cause a heap-based buffer over-read when formatting an empty string because it was not properly null-terminated, causing a crash and resulting in a denial of service.
Statement: To exploit this flaw, an attacker needs to trick a user into processing a specially crafted JSON input, allowing an attacker to trigger a b
Microsoft
AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
vendor_msrc·2025-05-13·CVSS 7.5
CVE-2025-48060 [HIGH] CWE-121 AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Debian
CVE-2025-48060: jq - jq is a command-line JSON processor. In versions up to and including 1.7.1, a he...
vendor_debian·2025·CVSS 7.7
CVE-2025-48060 [HIGH] CVE-2025-48060: jq - jq is a command-line JSON processor. In versions up to and including 1.7.1, a he...
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.
Scope: local
bookworm: resolved (fixed in 1.6-2.1+deb12u1)
bullseye: resolved (fixed in 1.6-2.1+deb11u1)
forky: resolved (fixed in 1.8.0-1)
sid: resolved (fixed in 1.8.0-1)
trixie: resolved (fixed in 1.7.1-6+deb13u1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt) [fedora-42]
bugzilla·2025-05-21·CVSS 7.7
CVE-2025-48060 [HIGH] CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt) [fedora-42]
CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt) [fedora-42]
More information about this security flaw is available in the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2367842
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
CVE-2025-48060 was fixed in jq 1.8.0 released on 1 June 2025.
Bumping jq to latest release would solve the bug.
See: https://github.com/jqlang/jq/releases
---
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
I
Bugzilla
CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
bugzilla·2025-05-21·CVSS 7.7
CVE-2025-48060 [HIGH] CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
CVE-2025-48060 jq: AddressSanitizer: stack-buffer-overflow in jq_fuzz_execute (jv_string_vfmt)
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.
Discussion:
This issue has been addressed in the following products:
Red Hat Enterprise Linux 9
Via RHSA-2025:10585 https://access.redhat.com/errata/RHSA-2025:10585
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 9.4 Extended Update Support
Via RHSA-2025:10613 https://access.redhat.com/errata/RHSA-2025:10613
---
This issue has been address
2025-05-21
Published