CVE-2026-49839
jqlang jq
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.1
- Severity
- 7.1
- EPSS
- 0.1 %
- Percentile
- 4
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run jqlang jq. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDjq 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.
- Vendor / product
- jqlang jq
- Published
- 25.06.2026
- Modified
- 25.10.2026
- CWE
- CWE-787
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Vendor updates
8- Ubuntu: USN-9292-1 – jq vulnerabilities 01.12.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:23873-1 – Security update for gdb 28.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4275-1 – Security update for jq 21.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22900-1 – Security update for jq 27.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22637-1 – Security update for jq 16.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22597-1 – Security update for jq 15.07.2026 · Critical · Patch day
- Microsoft: Mariner 30.06.2026 · High · Patch day
- Red Hat: RHSA-2026:29986 – RHSA-2026:29986 jq-0:1.8.2-0.1.hum1@aarch64 security update 25.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.