CVE Explorer
CVE-2026-33948
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-170","description":"CWE-170: Improper Null Termination","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"jq","vendor":"jqlang","versions":[{"status":"affected","version":"< 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.9,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-170","description":"CWE-170: Improper Null Termination","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/jqlang/jq/commit/6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b","tags":["x_refsource_MISC"],"url":"https://github.com/jqlang/jq/commit/6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/references/1
{"name":"https://github.com/jqlang/jq/security/advisories/GHSA-32cx-cvvh-2wj9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jqlang/jq/security/advisories/GHSA-32cx-cvvh-2wj9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ca71ca672f3bc157e5b028aae69064dd77f69d5c77e17b4e220ec930b4436741 · sha256:a7c7ed50848f428e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.