Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-41256— jq: Embedded NUL truncates top-level jq programs loaded with -f

CVSS 5.5 · Medium EPSS 0.01% · P2

Affected Version Matrix 1

VendorProductVersion RangeStatus
jqlangjq<= 1.8.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-41256

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jq: Embedded NUL truncates top-level jq programs loaded with -f
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
空字节或NULL字符转义处理不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
jq 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jq是jqlang开源的一个轻量级且灵活的命令行 JSON 处理器。 jq 1.8.1及之前版本存在安全漏洞,该漏洞源于通过-f加载的顶层jq程序在第一个嵌入NUL字节处被截断,可能导致编译和执行仅包含NUL之前的前缀部分,造成编译路径上的前缀/完整缓冲区不匹配。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
jqlangjq <= 1.8.1 -

II. Public POCs for CVE-2026-41256

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41256

登录查看更多情报信息。

Same Patch Batch · jqlang · 2026-05-11 · 7 CVEs total

CVE-2026-438966.2 MEDIUMjq: Stack Overflow in Recursive Object Merge
CVE-2026-438946.2 MEDIUMjq: Wild stack write via signed-integer overflow in decNumber D2U() macro
CVE-2026-438954.4 MEDIUMjq: Embedded NUL in jq import paths causes local redaction-policy bypass and preserves sen
CVE-2026-41257jq: Signed-int overflow in `stack_reallocate` (jq VM stack)
CVE-2026-40612jq: Stack overflow via unbounded recursion in jv_contains
CVE-2026-44777jq: stack overflow in module loading on mutual `include`

IV. Related Vulnerabilities

V. Comments for CVE-2026-41256

No comments yet


Leave a comment