CVE-2026-41256

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.
Configurations

Configuration 1 (hide)

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

History

26 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) 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.

Information

Published : 2026-05-11 18:16

Updated : 2026-10-26 18:10


NVD link : CVE-2026-41256

Mitre link : CVE-2026-41256

CVE.ORG link : CVE-2026-41256


JSON object : View

Products Affected

jqlang

  • jq
CWE
CWE-158

Improper Neutralization of Null Byte or NUL Character