CVE-2026-33948
Last modified
CVE-2026-33948 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where CLI input parsing allows validation bypass via embedded NUL bytes. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where CLI input parsing allows validation bypass via embedded NUL bytes. When reading JSON from files or stdin, jq uses strlen() to determine buffer length instead of the actual byte count from fgets(), causing it to truncate input at the first NUL byte and parse only the preceding prefix. This enables an attacker to craft input with a benign JSON prefix before a NUL byte followed by malicious trailing data, where jq validates only the prefix as valid JSON while silently discarding the suffix. Workflows relying on jq to validate untrusted JSON before forwarding it to downstream consumers are susceptible to parser differential attacks, as those consumers may process the full input including the malicious trailing bytes. This issue has been patched by commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jqlang | Jq | < 2026-04-12 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33948?
How severe is CVE-2026-33948?
How do I fix CVE-2026-33948?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33941Handlebars provides the power necessary to let users build s…8.2
- CVE-2026-33942Saloon is a PHP library that gives users tools to build API …9.8
- CVE-2026-33943Happy DOM is a JavaScript implementation of a web browser wi…9.8
- CVE-2026-33945Incus is a system container and virtual machine manager. Inc…9.6
- CVE-2026-33946MCP Ruby SDK is the official Ruby SDK for Model Context Prot…5.9
- CVE-2026-33947jq is a command-line JSON processor. In versions 1.8.1 and b…5.5
- CVE-2026-33949Tina is a headless content management system. Prior to versi…8.1
- CVE-2026-3395A flaw has been found in MaxSite CMS up to 109.1. This impac…9.8
- CVE-2026-33950Signal K Server is a server application that runs on a centr…9.4
- CVE-2026-33951Signal K Server is a server application that runs on a centr…7.5
- CVE-2026-33952FreeRDP is a free implementation of the Remote Desktop Proto…6.5
- CVE-2026-33953LinkAce is a self-hosted archive to collect website links. V…8.5
Are you affected by CVE-2026-33948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
