Buffer overflow in Jqlang Jq
CVE-2026-41257
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 overflow…
Vulnerability class: Integer Overflow
EPSS: 0.000 (2.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Jqlang Jq — versions <= 1.8.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-41257?
- CVE-2026-41257 is a medium-severity vulnerability in Jqlang Jq, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2026-05-11.
- How severe is CVE-2026-41257?
- Medium severity. CVSS v3 base score is 5.5 out of 10.