PT-2026-51160 · Jq · Jq

Published

2026-06-09

·

Updated

2026-06-25

·

CVE-2026-49839

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

CVE-2026-49839
ECHO-8A1C-E3DF-AE5B

Affected Products

Jq