cve.bz

CVE-2025-48060 jqlang jq: Out-of-bounds Write

7.7 highExploit referenceEPSS 0.6%

High (7.7) in jqlang jq. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-05-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48060 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48060?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48060?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48060 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jqlang:jqthrough 1.7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11jq1.6-2.1+deb11u1DLA-4307-1
Debian12jq1.6-2.1+deb12u1DEBIAN-CVE-2025-48060
Debian13jq1.7.1-6+deb13u1DEBIAN-CVE-2025-48060
Debian14jq1.8.0-1DEBIAN-CVE-2025-48060
Ubuntu22.04:LTSjq1.6-2.1ubuntu3.1UBUNTU-CVE-2025-48060 USN-7657-1
Ubuntu24.04:LTSjq1.7.1-3ubuntu0.24.04.1UBUNTU-CVE-2025-48060 USN-7657-1
Ubuntu25.10, 26.04:LTSjq1.8.1-3ubuntu1UBUNTU-CVE-2025-48060
UbuntuPro:16.04:LTSjq1.5+dfsg-1ubuntu0.1+esm3UBUNTU-CVE-2025-48060 USN-7657-2
UbuntuPro:18.04:LTSjq1.5+dfsg-2ubuntu0.1~esm1UBUNTU-CVE-2025-48060 USN-7657-2
UbuntuPro:20.04:LTSjq1.6-1ubuntu0.20.04.1+esm1UBUNTU-CVE-2025-48060 USN-7657-2
Red Hatenterprise_linux:8::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-11.el8_10RHSA-2025:10618
Red Hatenterprise_linux:8::crbjq-devel, jq-debuginfo, jq-debugsource0:1.6-11.el8_10RHSA-2025:10618
Red Hatenterprise_linux:9::baseosjq, jq-debuginfo, jq-debugsource0:1.6-17.el9_6.2RHSA-2025:10585
Red Hatenterprise_linux:9::crbjq-devel, jq-debuginfo, jq-debugsource0:1.6-17.el9_6.2RHSA-2025:10585
Red Hatenterprise_linux:10.0jq, jq-devel, jq-debuginfo and 1 more0:1.7.1-8.el10_0.1RHSA-2025:12882
Red Hatrhel_aus:8.2::appstreamjq, jq-debuginfo, jq-debugsource0:1.5-12.el8_2.1RHSA-2025:10622
Red Hatrhel_aus:8.4::appstreamjq, jq-debuginfo, jq-debugsource0:1.5-12.el8_4.4RHSA-2025:10621
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_eus_long_life:8.6::appstream and 1 morejq, jq-debuginfo, jq-debugsource0:1.6-3.el8_6.1RHSA-2025:10620
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-6.el8_8.3RHSA-2025:10619
Red Hatrhel_e4s:9.0::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-12.el9_0.1RHSA-2025:10616
Red Hatrhel_e4s:9.2::appstreamjq, jq-debuginfo, jq-debugsource0:1.6-15.el9_2.2RHSA-2025:10615
Red Hatrhel_eus:9.4::baseosjq, jq-debuginfo, jq-debugsource0:1.6-16.el9_4.1RHSA-2025:10613
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morejq1.6-150000.3.9.1SUSE-SU-2025:02915-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0jq1.7.1-160000.3.1SUSE-SU-2026:22566-1
SUSELinux Micro 6.0jq1.6-5.1SUSE-SU-2025:20655-1
SUSELinux Micro 6.1jq1.7.1-slfo.1.1_2.1SUSE-SU-2025:20591-1
SUSELinux Micro 6.2jq1.7.1-160000.3.1SUSE-SU-2026:22545-1
openSUSELeap 15.6jq1.6-150000.3.9.1SUSE-SU-2025:02915-1
openSUSELeap 16.0jq1.7.1-160000.3.1openSUSE-SU-2026:21248-1
openSUSETumbleweedjq1.8.1-1.1openSUSE-SU-2025:15233-1
AlmaLinux8jq, jq-devel1.6-11.el8_10ALSA-2025:10618
AlmaLinux9jq, jq-devel1.6-17.el9_6.2ALSA-2025:10585
Rocky Linux8jq0:1.6-11.el8_10RLSA-2025:10618
Rocky Linux9jq0:1.6-17.el9_6.2RLSA-2025:10585
Rocky Linux10jq0:1.7.1-8.el10_0.1RLSA-2025:12882
Alpinev3.21jq1.8.2-r0ALPINE-CVE-2025-48060
Alpinev3.22, v3.23, v3.24jq1.8.0-r0ALPINE-CVE-2025-48060
Azure Linux2jq1.6-4AZL-61974
Azure Linux3jq1.7.1-4AZL-61968
Alpaquita23jq1.6-r3BELL-CVE-2025-48060
Alpaquita25, streamjq1.8.0-r0BELL-CVE-2025-48060

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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 buffer over-read of 2 bytes and cause a crash in jq with no other security impact. Due to these reasons, this flaw has been rated with a Moderate severity.

Red Hat's mitigation

Do not process untrusted input with the jq command line JSON processor.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10jq-0:1.7.1-8.el10_0.1Fixed 2025-08-05RHSA-2025:12882
Red Hat Enterprise Linux 8jq-0:1.6-11.el8_10Fixed 2025-07-08RHSA-2025:10618
Red Hat Enterprise Linux 8.2 Advanced Update Supportjq-0:1.5-12.el8_2.1Fixed 2025-07-08RHSA-2025:10622
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportjq-0:1.5-12.el8_4.4Fixed 2025-07-08RHSA-2025:10621
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicejq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsjq-0:1.6-3.el8_6.1Fixed 2025-07-08RHSA-2025:10620
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicejq-0:1.6-6.el8_8.3Fixed 2025-07-08RHSA-2025:10619
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsjq-0:1.6-6.el8_8.3Fixed 2025-07-08RHSA-2025:10619
Red Hat Enterprise Linux 9jq-0:1.6-17.el9_6.2Fixed 2025-07-08RHSA-2025:10585
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsjq-0:1.6-12.el9_0.1Fixed 2025-07-08RHSA-2025:10616
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsjq-0:1.6-15.el9_2.2Fixed 2025-07-08RHSA-2025:10615
Red Hat Enterprise Linux 9.4 Extended Update Supportjq-0:1.6-16.el9_4.1Fixed 2025-07-08RHSA-2025:10613
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202509030117-0Fixed 2025-09-18RHSA-2025:15672
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202508270040-0Fixed 2025-09-04RHSA-2025:14853
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202508192014-0Fixed 2025-08-27RHSA-2025:14396
Red Hat Ansible Automation Platform 2automation-controllerAffected
Red Hat Ceph Storage 4jqOut of support scope
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48060.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON