PT-2026-32562 · Jq+2 · Jq+2

Ho-9

·

Published

2026-04-12

·

Updated

2026-05-24

·

CVE-2026-33948

CVSS v2.0

9.4

High

VectorAV: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.

Fix

RCE

Weakness Enumeration

Related Identifiers

BDU:2026-05571
CVE-2026-33948
ECHO-EFE2-3845-7825
OESA-2026-1981
OPENSUSE-SU-2026:10850-1
RHSA-2026:8579
USN-8202-1
USN-8202-2

Affected Products

Linuxmint
Ubuntu
Jq