Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-33948

Fixed in a distro release EPSS <1%CVSS 2.9

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.

Published 2026-04-13 · CVE record · OSV

Products: jqlang jq

Distro releases

ReleasePackageFixed in
Alpine 3.22jq1.8.2-r0
Alpine 3.23jq1.8.2-r0
Alpine 3.24jq1.8.2-r0
Amazon Linux 2jq1.6-17.amzn2.0.1
Amazon Linux 2jq-devel1.6-17.amzn2.0.1
Amazon Linux 2023jq1.8.1-59.amzn2023
Amazon Linux 2023jq-devel1.8.1-59.amzn2023
Debian 12jq1.6-2.1+deb12u2
Debian 13jq1.7.1-6+deb13u2
Debian 14jq1.8.1-5
Red Hat hummingbird 1jq0:1.8.1-3.hum1
Red Hat hummingbird 1jq-devel0:1.8.1-3.hum1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise Micro 5.3jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Micro 5.4jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Micro 5.5jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Module for Basesystem 15 SP7jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server 15 SP4-LTSSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server 15 SP5-LTSSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server 15 SP6-LTSSjq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server 16.0jq1.7.1-160000.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6jq1.7.1-150000.3.25.1
SUSE Linux Enterprise Server for SAP applications 16.0jq1.7.1-160000.3.1
SUSE Linux Micro 6.0jq1.6-6.1
SUSE Linux Micro 6.0jq1.7.1-1.1
SUSE Linux Micro 6.1jq1.7.1-slfo.1.1_3.1
SUSE Linux Micro 6.2jq1.7.1-160000.3.1
Ubuntu 22.04 LTSjq1.6-2.1ubuntu3.2
Ubuntu 24.04 LTSjq1.7.1-3ubuntu0.24.04.2
Ubuntu 25.10jq1.8.1-3ubuntu1.1
Ubuntu 26.04 LTSjq1.8.1-4ubuntu2
Ubuntu Pro 14.04 LTSjq1.3-1.1ubuntu1.1+esm4
Ubuntu Pro 16.04 LTSjq1.5+dfsg-1ubuntu0.1+esm4
Ubuntu Pro 18.04 LTSjq1.5+dfsg-2ubuntu0.1~esm2
Ubuntu Pro 20.04 LTSjq1.6-1ubuntu0.20.04.1+esm2
openSUSE Leap 16.0jq1.7.1-160000.3.1
openSUSE Tumbleweedjq1.8.1-3.1