Skip to main content
VulnerabilityPublished

CVE-2026-33948: jqlang jq · Improper Null Termination

Affects jqlang jqSource CVE Database V5

0
Compare

Public exploit available · CVSS 2.9 Low.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
2.9Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
jqlangjqAffected
  • =< 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b
Fixed in–

AI-suggested

This vulnerability has been patched by commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b. Users should upgrade jq to a version that includes this fix. No other mitigation is indicated by the vendor advisory. Patch status is not explicitly stated beyond the commit, so verify the vendor's latest releases for the fix.

Description

jq versions prior to commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where input parsing improperly handles embedded NUL bytes. The tool uses strlen() instead of the actual byte count from fgets(), causing it to truncate input at the first NUL byte and only validate the prefix as JSON. This allows attackers to craft inputs with a valid JSON prefix followed by malicious trailing data that jq ignores but downstream consumers may process. This vulnerability has been patched in the specified commit.

References

Community reviews

Loading reviews…