Home › CVE › Vulnerabilities
CVE-2026-41256
Summary
It was discovered that jq did not properly handle specially crafted program or data files. An attacker could possibly use these issues to cause a crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-41256, CVE-2026-41257, CVE-2026-49839) It was discovered that jq did not properly handle module import paths containing NUL bytes. An attacker could possibly use this issue to…
Severity breakdown
Medium · 5.5
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on integrity, none on confidentiality and availability
Weakness
- CWE-158: Improper Neutralization of Null Byte or NUL Character
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| jqlang jq | <= 1.8.1 | — |
Public exploits
Exploit available
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-41256?
It was discovered that jq did not properly handle specially crafted program or data files. An attacker could possibly use these issues to cause a crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-41256, CVE-2026-41257, CVE-2026-49839) It was discovered that jq did not properly handle module import paths containing NUL bytes. An attacker could possibly use this issue to… Weakness type: Improper Neutralization of Null Byte or NUL Character (CWE-158).
How severe is CVE-2026-41256?
CVE-2026-41256 has a CVSS 3.1 base score of 5.5 (medium), from the CNA (github.com). An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-41256 being exploited?
Not as far as is known: CVE-2026-41256 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-41256?
jqlang jq <= 1.8.1.