jqlang jq jv_parse_sized length out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.8$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in jqlang jq. The impacted element is the function jv_parse_sized. Executing a manipulation of the argument length can lead to out-of-bounds. This vulnerability is tracked as CVE-2026-39979. The attack can be launched remotely. No exploit exists. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability has been found in jqlang jq (affected version unknown) and classified as critical. This vulnerability affects the function jv_parse_sized. The manipulation of the argument length with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.

The advisory is shared for download at github.com. This vulnerability was named CVE-2026-39979 since 04/08/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 307502 (Azure Linux 3.0 Security Update: CBL-Mariner Releases (CVE-2026-39979)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 2f09060afab23fe9390cce7cb860b10416e1bf5f is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (307502) and CERT Bund (WID-SEC-2026-1183). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • RESF Rocky Linux

Productinfo

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 6.9
VulDB Meta Temp Score: 6.8

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 307502
Nessus Name: Azure Linux 3.0 Security Update: CBL-Mariner Releases (CVE-2026-39979)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 2f09060afab23fe9390cce7cb860b10416e1bf5f

Timelineinfo

04/08/2026 CVE reserved
04/14/2026 +6 days Advisory disclosed
04/14/2026 +0 days VulDB entry created
07/02/2026 +79 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-2hhh-px8h-355p
Status: Confirmed

CVE: CVE-2026-39979 (🔒)
GCVE (CVE): GCVE-0-2026-39979
GCVE (VulDB): GCVE-100-357232
CERT Bund: WID-SEC-2026-1183 - Red Hat Hardened Images RPMs (jq und pyOpenSSL): Mehrere Schwachstellen

Entryinfo

Created: 04/14/2026 07:42
Updated: 07/02/2026 05:48
Changes: 04/14/2026 07:42 (69), 04/20/2026 01:19 (2), 04/22/2026 03:53 (7), 05/04/2026 00:37 (1), 06/10/2026 18:52 (1), 07/02/2026 05:48 (11)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!