MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-41257WID-SEC-W-2026-1469:CVE-2026-41257

jq: Signed-int overflow in `stack_reallocate` (jq VM stack)

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)