CVE & CISA-KEV Catalog

CVE-2026-49839

HIGH
7.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
jqDebian
Fixed in:1.8.1-8CVE-2026-49839
jqRed Hat / RHEL
Fixed in:main@srcRHSA-2026:29986
Fixed in:main@x86_64RHSA-2026:29986
Fixed in:main@aarch64RHSA-2026:29986
jqRocky
Fixed in:main@aarch64RHSA-2026:29986
Fixed in:main@srcRHSA-2026:29986
Fixed in:main@x86_64RHSA-2026:29986

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Exploit Intelligence

0.17%probability of exploitation in 30 days
6thpercentile

Low risk: more likely to be exploited than 6% of all known CVEs.

References

Exploit1
Embed a live status badge for CVE-2026-49839
CVE-2026-49839 severity badge

Markdown

[![CVE-2026-49839](https://tridentstack.com/cve/badge/CVE-2026-49839.svg)](https://tridentstack.com/cve/CVE-2026-49839)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-49839"><img src="https://tridentstack.com/cve/badge/CVE-2026-49839.svg" alt="CVE-2026-49839"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-26.