BaselineWatch
Desk

CVE-2026-41257

6.4 medium SSVC exploitation: none Analyzed

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.

Fix

Patch, vendor advisory and mitigation references on NVD 2

Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.

Change history 1

  1. First seenCVSS 6.4 · jqlangNVD modified 2026-10-26 18:10

Affected (CPE criteria) 1

  • cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*

References 2