{"id":"CVE-2026-43894","published":"2026-05-11T17:20:06Z","modified":"2026-05-11T18:32:43Z","title":"jq: Wild stack write via signed-integer overflow in decNumber D2U() macro","vendor":"jqlang","product":"jq","tier":"tail","description":{"text":"jq is a command-line JSON processor. In 1.8.1 and earlier, when decNumberFromString is given a number literal of INT_MAX-1 (2147483646) digits, the D2U() macro overflows during signed-int arithmetic. The wrapped negative value bypasses the heap-allocation size check, causes the function to use a 30-byte stack buffer, and then writes ≈715 million 16-bit units (≈1.4 GiB) at an offset 1.43 GiB below the stack frame. The written content is fully attacker-controlled (the parsed decimal digits, packed 3-per-unit).","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.02571,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-5v7p-2r57-2g4g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":0.51},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"jqlang","affectedVersions":[{"vendor":"jqlang","product":"jq","versions":["<= 1.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:32:08.384699Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29172","exploited":false,"provenance":"source"}}