PT-2026-51160 · Jq · Jq

·

CVE-2026-49839

·

Published

2026-06-09

·

Updated

2026-07-22

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions jq versions prior to 1.8.2
Description In assertion-disabled builds, the jq --rawfile command can lead to invalid-state reuse and a heap out-of-bounds write. This occurs when the jv load file(raw=1) function reads an attacker-controlled file and repeatedly appends chunks to a string accumulator. If the jv string append buf() function returns a "String too long" error, the loop continues to append subsequent file chunks to the already invalid object. This invalid object is then incorrectly interpreted as a string object, resulting in a heap-buffer-overflow.
Recommendations Update to version 1.8.2.

Exploit

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-90267
BDU:2026-12868
CVE-2026-49839
ECHO-8A1C-E3DF-AE5B
GHSA-CFH2-VWFQ-QFMM
OESA-2026-2803
OESA-2026-2804
OESA-2026-2805
OESA-2026-2806
OPENSUSE-SU-2026:11133-1
OPENSUSE-SU-2026:21318-1
SUSE-SU-2026:22597-1
SUSE-SU-2026:22637-1
SUSE-SU-2026:22900-1

Affected Products

Jq