Cyber Resilience

CVE-2026-41256

Jqlang Jq ≤ 1.8.1

Public PoC
Published
11 May 2026
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS Score 0.0016 5th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-41256 is a medium-severity Improper Neutralization of Null Byte or NUL Character (CWE-158) vulnerability in Jqlang Jq. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and CM-7 (Least Functionality) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

Insufficient information to map techniques.
Confidence: LOW · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-43895Same product: Jqlang Jq
CVE-2023-50268Same product: Jqlang Jq
CVE-2026-32316Same product: Jqlang Jq
CVE-2026-33948Same product: Jqlang Jq
CVE-2026-41257Same product: Jqlang Jq
CVE-2026-47770Same product: Jqlang Jq
CVE-2024-53427Same product: Jqlang Jq
CVE-2026-43896Same product: Jqlang Jq
CVE-2026-44777Same product: Jqlang Jq
CVE-2026-33947Same product: Jqlang Jq

Affected Assets

jqlang
jq
≤ 1.8.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SI-7 Software, Firmware, and Information Integrity
  • CM-7 Least Functionality
Detect
Catch it (NIST detect / respond)
  • SI-7 Software, Firmware, and Information Integrity
Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.10

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces validation and neutralization of NUL bytes in untrusted filter files loaded via -f, preventing the truncation and prefix-only execution described in the CVE.

preventdetect

Requires integrity verification of jq filter files and executables to detect or block crafted inputs containing embedded NUL bytes before compilation.

prevent

Restricts jq to least functionality (e.g., disabling file-based filter loading or restricting allowed inputs) so that unvalidated NUL-containing files cannot be processed.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input neutralization and validation to prevent null-byte flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect null-byte flaws but does not itself implement the neutralization.

prevents

Secure development lifecycle mandates input validation and sanitization that directly prevents null-byte injection.

prevents

Application security requirements include explicit rules for neutralizing dangerous characters such as NUL.

prevents

Secure architecture principles reduce the likelihood of unsafe data flows but do not prescribe character neutralization.

prevents

Secure coding standards explicitly require proper neutralization of null bytes and other metacharacters.

References