Vulnerability

CVE-2026-41257

mediumCVSS 4.0 6.4Published 11 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Jqlang jq

Weakness type

References

  • github.com /jqlang/jq/security/advisories/GHSA-4jm8-m363-4539

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning