CVE & CISA-KEV Catalog

CVE-2026-41257

MEDIUM
5.5
CVSS v3
NVD

Description

jq is a command-line JSON processor. In 1.8.1 and earlier, the jq bytecode VM's data stack tracks its allocation size in a signed int. When the stack grows beyond ≈1 GiB (via deeply nested generator forks), the doubling arithmetic overflows. The wrapped value is passed to realloc and then used for a memmove with attacker-influenced offsets.

How to fix

Remediation Available
jqDebian
Fixed in:1.6-2.1+deb11u2CVE-2026-41257
Fixed in:1.6-2.1+deb12u2CVE-2026-41257
Fixed in:1.8.1-6CVE-2026-41257
jqRed Hat / RHEL
Fixed in:main@aarch64RHSA-2026:29986
Fixed in:main@srcRHSA-2026:29986
Fixed in:main@x86_64RHSA-2026:29986
jqRocky
Fixed in:main@x86_64RHSA-2026:29986
Fixed in:main@srcRHSA-2026:29986
Fixed in:main@aarch64RHSA-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
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.14%probability of exploitation in 30 days
4thpercentile

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

References

Exploit1

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2026-41257
CVE-2026-41257 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2026-41257"><img src="https://tridentstack.com/cve/badge/CVE-2026-41257.svg" alt="CVE-2026-41257"></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-05-13.