| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.8 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Vendor
Name
License
Website
- Product: https://github.com/jqlang/jq/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.9VulDB 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: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 307502
Nessus Name: Azure Linux 3.0 Security Update: CBL-Mariner Releases (CVE-2026-39979)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 2f09060afab23fe9390cce7cb860b10416e1bf5f
Timeline
04/08/2026 CVE reserved04/14/2026 Advisory disclosed
04/14/2026 VulDB entry created
07/02/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 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
Entry
Created: 04/14/2026 07:42Updated: 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.
No comments yet. Languages: en.
Please log in to comment.