Heap-based buffer overflow in jq - CVE-2025-48060

 

Heap-based buffer overflow in jq - CVE-2025-48060

Published: June 25, 2025


Vulnerability identifier: #VU111912
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-48060
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the jv_string_vfmt() function. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


Affected software

jq
Business Automation Insights
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
IBM Observability with Instana
Netcool Operations Insight
IBM Cloud Pak for Business Automation
Oracle Cloud Native Session Border Controller
Ansible Automation Platform
Red Hat Advanced Cluster Security for Kubernetes
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
jq (Ubuntu package)
jq (Red Hat package)
jq
jq-devel
libjq1-debuginfo
libjq-devel
libjq1
jq-debugsource
jq-debuginfo
jq-help
IBM Cloud Pak for Multicloud Management
Red Hat OpenShift Container Platform

How to mitigate CVE-2025-48060

Install updates from vendor's website.

jq - update to 1.8.0
IBM Observability with Instana - update to 1.0.299
Netcool Operations Insight - update to 1.6.15
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF01
Business Automation Insights - addressed in versions 24.0.0.0.5, 24.0.1.0.5, 25.0.0.0.2
IBM Cloud Pak for Business Automation - addressed in versions 24.0.1-IF006, 25.0.0-IF003
jq (Ubuntu package) - addressed in versions 1.5+dfsg-1ubuntu0.1+esm3, 1.5+dfsg-2ubuntu0.1~esm1, 1.6-1ubuntu0.20.04.1+esm1, 1.6-2.1ubuntu3.1, 1.7.1-3ubuntu0.24.04.1, 1.7.1-3ubuntu1.1
jq (Red Hat package) - addressed in versions 1.5-12.el8_2.1, 1.5-12.el8_4.4, 1.6-3.el8_6.1, 1.6-6.el8_8.3, 1.6-11.el8_10, 1.6-12.el9_0.1, 1.6-15.el9_2.2, 1.6-16.el9_4.1, 1.6-17.el9_6.2
jq - update to 1.6-17
jq-devel - update to 1.6-17
libjq1-debuginfo - update to 1.6-150000.3.9.1
libjq-devel - update to 1.6-150000.3.9.1
jq - update to 1.6-150000.3.9.1
libjq1 - update to 1.6-150000.3.9.1
jq-debugsource - update to 1.6-150000.3.9.1
jq-debuginfo - update to 1.6-150000.3.9.1
jq-devel - update to 1.8.0-2
jq - update to 1.8.0-2
jq-debuginfo - update to 1.8.0-2
jq-debugsource - update to 1.8.0-2
jq-help - update to 1.8.0-2
IBM Cloud Pak for Multicloud Management - update to 2.3 Fix Pack 12
Ansible Automation Platform - update to 2.5
Red Hat Advanced Cluster Security for Kubernetes - update to 4.7.5
Red Hat OpenShift Container Platform - addressed in versions 4.12.79, 4.13.60, 4.14.54, 4.14.56, 4.15.56, 4.15.57, 4.16.44, 4.16.45, 4.17.36, 4.17.37, 4.18.20, 4.18.21, 4.19.4, 4.19.5

External References

Related Security Bulletins