{"id":"CVE-2026-41256","state":"PUBLISHED","title":"jq: Embedded NUL truncates top-level jq programs loaded with -f","description":"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.","publishedAt":"2026-05-11T17:18:30.975Z","updatedAt":"2026-06-23T15:51:43.506Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["jqlang jq"],"affected":[{"vendor":"jqlang","product":"jq","versions":[{"version":"<= 1.8.1","status":"affected"}]}],"references":["https://github.com/jqlang/jq/security/advisories/GHSA-vf2h-chrj-q3fg"],"weaknesses":["CWE-158"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41256.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41256","state":"PUBLISHED","datePublished":"2026-05-11T17:18:30.975Z","dateUpdated":"2026-06-23T15:51:43.506Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-18T14:01:46.801Z"},"containers":{"cna":{"title":"jq: Embedded NUL truncates top-level jq programs loaded with -f","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jqlang","product":"jq","versions":[{"version":"<= 1.8.1","status":"affected"}]}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-vf2h-chrj-q3fg","name":"https://github.com/jqlang/jq/security/advisories/GHSA-vf2h-chrj-q3fg","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-158","lang":"en","description":"CWE-158: Improper Neutralization of Null Byte or NUL Character","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-11T17:18:30.975Z"},"source":{"advisory":"GHSA-vf2h-chrj-q3fg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-vf2h-chrj-q3fg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T20:12:56.609851Z","id":"CVE-2026-41256","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-23T15:51:43.506Z"}}]}}}