PT-2026-32562

CVE-2026-33948

·

Published

2026-04-12

·

Updated

2026-09-21

Description by

CVSS 2.0
9.4
High
MetricsAV:N/AC:L/Au:N/C:N/I:C/A:C
Name of the Vulnerable Software and Affected Versions jq versions prior to commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b
Description CLI input parsing allows validation bypass via embedded NUL bytes when reading JSON from files or stdin. The software uses strlen() to determine buffer length instead of the actual byte count from fgets(), causing input to be truncated at the first NUL byte and parsing only the preceding prefix. This allows an attacker to craft input with a benign JSON prefix before a NUL byte followed by malicious trailing data; the system validates only the prefix as valid JSON while silently discarding the suffix. Workflows that rely on the tool to validate untrusted JSON before forwarding it to downstream consumers are susceptible to parser differential attacks, where consumers may process the full input including the malicious trailing bytes.
Recommendations Update to the version containing commit 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-32CX-CVVH-2WJ9
AZL-82928
ECHO-EFE2-3845-7825
OESA-2026-1981
OPENSUSE-SU-2026:10850-1
OPENSUSE-SU-2026:21248-1
RHSA-2026:8579
SUSE-SU-2026:22545-1
SUSE-SU-2026:22566-1
SUSE-SU-2026:22664-1
SUSE-SU-2026:22705-1
SUSE-SU-2026:2283-1
SUSE-SU-2026:23873-1
SUSE-SU-2026:4275-1
USN-8202-1
USN-8202-2
Found an issue in the description? Have something to add? Feel free to write us 👾