REDHAT-BUG-2469193: Medium severity jqlang jq vulnerability
jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by \x00 and arbitrary suffix compiles and executes as only the prefix before the NUL. This leaves jq with a post-CVE-2026-33948 prefix/full-buffer mismatch on the compilation path even though the JSON parser path has already been fixed.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users who load top-level jq programs from files with the -f option are exposed if those filter files can contain embedded NUL bytes. The issue applies to jq 1.8.1 and earlier.
What does an attacker need to exploit it?
An attacker needs to cause jq to compile a crafted filter file supplied through -f. The file must contain a NUL byte after a valid filter prefix, followed by content that will be ignored during compilation.
What is the practical effect of a crafted filter file?
jq compiles and executes only the portion of the filter before the first embedded NUL byte. Any suffix after that byte is not included in the compiled top-level program.
Does the existing JSON parser fix address this problem?
No. The issue is on the top-level filter compilation path for files loaded with -f, while the description states that the JSON parser path has already been fixed.