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

CVE-2026-49839

Fixed in a distro release EPSS <1%CVSS 7.1

jq is a command-line JSON processor. Prior to 1.8.2,` jq --rawfile` can turn a handled oversized-string error into invalid-state reuse and a real heap out-of-bounds write in assertion-disabled builds. When jv_load_file(raw=1) reads an attacker-controlled file, it repeatedly appends file chunks to the same jv string accumulator. Once jv_string_append_buf() returns jv_invalid_with_msg("String too long"), the raw-file loop does not stop. If the file contains at least one more byte, the next loop iteration appends a new chunk to an object that is already invalid. With assertions enabled this aborts in jvp_string_ptr(). With assertions disabled, the invalid object is interpreted as a string object and ASan reports heap-buffer-overflow. This vulnerability is fixed in 1.8.2.

Published 2026-06-25 · 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 2023jq1.8.1-60.amzn2023
Amazon Linux 2023jq-devel1.8.1-60.amzn2023
Debian 12jq1.6-2.1+deb12u2
Debian 13jq1.7.1-6+deb13u3
Debian 14jq1.8.1-8
Red Hat hummingbird 1jq0:1.8.2-0.1.hum1
Red Hat hummingbird 1jq-devel0:1.8.2-0.1.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.4.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.4.1
SUSE Linux Micro 6.0jq1.7.1-1.1
SUSE Linux Micro 6.1jq1.7.1-slfo.1.1_4.1
SUSE Linux Micro 6.2jq1.7.1-160000.4.1
Ubuntu 22.04 LTSjqno fix
Ubuntu 24.04 LTSjqno fix
Ubuntu 25.10jqno fix
Ubuntu 26.04 LTSjqno fix
Ubuntu 26.10jqno fix
Ubuntu Pro 14.04 LTSjqno fix
Ubuntu Pro 16.04 LTSjqno fix
Ubuntu Pro 18.04 LTSjqno fix
Ubuntu Pro 20.04 LTSjqno fix
openSUSE Leap 16.0jq1.7.1-160000.4.1
openSUSE Tumbleweedjq1.8.2-1.1