Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-39979: Out-of-bounds read in libjq jv_parse_sized() error formatting

Published Apr 13, 2026 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days10 mentions · peak 2 in a dayToday
CVSS6.9Medium · v4
EPSS0.58%42nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Red HatJqlang
IdentifiersCVE-2026-39979CWE-125 · Out-of-bounds Read

An out-of-bounds read vulnerability affects the jv_parse_sized() API in libjq, the library underlying the jq command-line JSON processor. Although the API accepts a buffer with an explicit length, an error-handling path passes the input buffer to jv_string_fmt() using the %s format specifier. This causes error construction to read until a NUL terminator rather than respecting the supplied buffer length. Malformed JSON in a non-NUL-terminated buffer can therefore trigger reads beyond the buffer boundary, potentially disclosing adjacent memory or terminating the process. The vulnerability affects implementations preceding the upstream fixing commit.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can expose memory beyond the supplied JSON buffer through constructed error messages or crash the consuming process, causing denial of service. The outcome depends on adjacent memory contents, memory accessibility, and how the application handles or exposes parsing errors. The established impacts concern confidentiality and availability; arbitrary code execution and integrity compromise are not established.

Mitigation

If you can’t patch tonight, do this now.

As a caller-side defensive measure pending patching, copy input into an allocation with room for an additional byte and append a NUL terminator immediately after the counted input before calling jv_parse_sized(). Continue passing the actual input length. Restrict untrusted input from reaching affected consumers where feasible. Suppressing externally visible parser errors may reduce information disclosure but does not prevent the out-of-bounds read or process termination. No vendor-endorsed temporary workaround is identified.

Remediation

Patch, then assume compromise.

Apply upstream commit 2f09060afab23fe9390cce7cb860b10416e1bf5f or install a vendor package containing the fix. For Alpine Linux, update jq and related packages to 1.8.2-r0 or later. Fixed packages for the specified RHEL 8.8 support streams include jq 1.6-6.el8_8.4; for the specified RHEL 8.4 support streams, jq 1.5-12.el8_4.5. For other distributions, install the applicable vendor security update. Update affected container images and rebuild dependent images using patched components.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
JqlangJqapplication
Red HatAi Inference Serverapplication
Red HatAnsible Automation Platformapplication
Red HatCeph Storageapplication
Red HatCodeready Linux Builder Eusapplication
Red HatEnterprise Linux Ausoperating_system
Red HatEnterprise Linux Eusoperating_system
Red HatEnterprise Linux Tusoperating_system
Red HatEnterprise Linux Update Services For Sap Solutionsoperating_system
Red HatHardened Imagesapplication
Red HatOpenshift Aiapplication
Red HatOpenshift Container Platformapplication
Red HatRed Hat Codeready Linux Builderapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2026-39979 exploited in the wild?
As of Nov 26, 2026, Mallory has no reports of CVE-2026-39979 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-39979?
Yes. As of Nov 26, 2026, Mallory has reports of a public exploit for CVE-2026-39979.
Is there a patch for CVE-2026-39979?
Apply upstream commit 2f09060afab23fe9390cce7cb860b10416e1bf5f or install a vendor package containing the fix. For Alpine Linux, update jq and related packages to 1.8.2-r0 or later.
What products are affected by CVE-2026-39979?
Jqlang Jq, Red Hat Ai Inference Server, Red Hat Ansible Automation Platform, Red Hat Ceph Storage, Red Hat Codeready Linux Builder Eus, and 9 more.
How severe is CVE-2026-39979?
CVE-2026-39979 has a CVSS v4 score of 6.9 (Medium) and an EPSS score of 0.58% (42nd percentile) as of Nov 26, 2026.
Activity feed

Recent activity

72 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Nov 26, 2026Alpine: multiple jq packages: security update to 1.8.2-r0 | Tenable®An out-of-bounds read in libjq's jv_parse_sized() error handling processes a counted input buffer as a NUL-terminated string. Malformed JSON in a non-NUL-terminated buffer can cause memory disclosure or process termination. Fixed in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f; the advisory recommends Alpine jq 1.8.2-r0 or later.Read more ↗tenable nessus pluginsNews · Nov 25, 2026Oracle Linux 10 : jq (ELSA-2026-98603) | Tenable®A vulnerability listed in the Oracle Linux 10 jq security advisory ELSA-2026-98603. The listed CVSS vectors indicate potential confidentiality and availability impacts without authentication or user interaction. The plugin reports available exploits and a patch publication date of November 23, 2026.Read more ↗tenable nessus pluginsNews · Nov 20, 2026Oracle Linux 9 : jq (ELSA-2026-98496) | Tenable®A vulnerability covered by Oracle Linux 9 jq advisory ELSA-2026-98496. The listed CVSS vectors indicate network-accessible exploitation without authentication or user interaction, with low confidentiality and availability impacts and no integrity impact. The advisory reports available exploits and a patch published on November 19, 2026.Read more ↗tenable nessus pluginsNews · Nov 14, 2026Rocky Linux 10.3 [CIQ] Security Update: jq / jq-debuginfo / jq... | Tenable®An out-of-bounds read in jq's jv_parse_sized() error formatting when handling non-NUL-terminated buffers. The advisory identifies affected jq packages on Rocky Linux 10.3. Nessus relies on self-reported package versions rather than testing the flaw. The plugin reports that exploits are available, although this statement is not broken down by CVE. Security updates are available through CIQ advisory crlsa-2026_98603.Read more ↗
+31 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.