{"id":"CVE-2026-41256","aliases":["CVE-2026-41256"],"related":[],"kind":"vulnerability","state":"published","title":"jq: Embedded NUL truncates top-level jq programs loaded with -f","summary":"jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by \\x00 and arbitrary suffix compiles and executes as only the prefix before the NUL. This leaves jq with a post-CVE-2026-33948 prefix/full-buffer mismatch on the compilation path even though the JSON parser path has already been fixed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by \\x00 and arbitrary suffix compiles and executes as only the prefix before the NUL. This leaves jq with a post-CVE-2026-33948 prefix/full-buffer mismatch on the compilation path even though the JSON parser path has already been fixed.","source":"cvelist"},{"lang":"es","text":"jq es un procesador JSON de línea de comandos. En la versión 1.8.1 y anteriores, los programas jq de nivel superior cargados desde un archivo con -f se truncan en el primer byte NUL incrustado en la HEAD actual del repositorio principal. Un archivo de filtro manipulado, como . seguido de \\x00 y un sufijo arbitrario, se compila y ejecuta como solo el prefijo antes del NUL. Esto deja a jq con una discrepancia entre el prefijo y el búfer completo posterior a CVE-2026-33948 en la ruta de compilación, a pesar de que la ruta del analizador JSON ya ha sido corregida.","source":"nvd"}],"published":"2026-05-11T17:18:30.975Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-158"],"affected":[{"ranges":[{"version":"<= 1.8.1","status":"affected"}],"vendor":"jqlang","product":"jq","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.8.1"}],"vendor":"jqlang","product":"jq","cpe":"cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-vf2h-chrj-q3fg","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-11T20:12:56.609Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41256","url":"https://www.cve.org/CVERecord?id=CVE-2026-41256","licence":"CVE Terms of Use","modified":"2026-06-23T15:51:43.506Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41256","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41256","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.223Z","epss":{"score":0.00158,"percentile":0.05198,"date":"2026-12-01T12:00:22.000Z"}}