Home › CVE › Vulnerabilities
CVE-2026-41257
Research article
jq JSON Processor Vulnerable to Integer Overflow and Out-of-bounds Write [CVE-2026-41257]
| CVE | CVE-2026-41257 |
|---|---|
| Published | December 01, 2026 15:05 UTC |
| Research cut-off | December 01, 2026 14:55 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-10-26); CISA KEV catalog; vendor advisory page (ubuntu.com) |
Executive summary
CVE-2026-41257 affects the jq JSON processor, allowing attackers to trigger denial of service or arbitrary code execution via specially crafted input. The CVSS 3.1 score is 5.5 MEDIUM, scored by nvd@nist.gov. The vulnerability impacts versions of jq up to 1.8.1. CVE-2026-41257 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01, which the catalog does not treat as evidence it has not been exploited [2]. The vendor bulletin recommends updating to the latest version [3].
Key points
- CVE-2026-41257 affects the jq JSON processor, allowing attackers to trigger denial of service or arbitrary code execution via specially crafted input [3].
- The CVSS 3.1 score is 5.5 MEDIUM, scored by nvd@nist.gov (Primary) [1].
- The vulnerability impacts versions of jq up to 1.8.1 [1].
- CVE-2026-41257 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01, which the catalog does not treat as evidence it has not been exploited [2].
- The vendor bulletin recommends updating to the latest version [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-41257 | jqlang | jq | CWE-190, CWE-787 | 6.4 MEDIUM, scored by security-advisories@github.com (Secondary) | 5.5 MEDIUM, scored by nvd@nist.gov (Primary) | 2026-05-11T18:16:34 | 2026-10-26T18:10:00 | Analyzed |
Vulnerability description
A flaw in the jq JSON processor allows an attacker to trigger denial of service or arbitrary code execution by sending specially crafted data files [3]. The issue arises from improper handling of input, which could be used to manipulate the application's behavior [3].
Attack surface and exploitation prerequisites
The CVSS 3.1 vector indicates the vulnerability requires a local attacker and user interaction [1]. The access method is local, and the CVSS 3.1 vector indicates user interaction is required [1].
Impact analysis
The CVSS 3.1 score suggests the vulnerability has a high impact on system availability, with no effect on confidentiality or integrity. The description states the flaw could lead to denial of service or arbitrary code execution [3].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| jq ≤ 1.8.1 | not listed |
Exploitation and threat intelligence status
CVE-2026-41257 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01 [2]. CVE-2026-41257 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01, which the catalog does not treat as evidence it has not been exploited [2].
Detection and exposure assessment
Readers should check if their installed version of jq is ≤ 1.8.1 [1]. The advisory does not provide specific detection steps [3].
Remediation
The vendor recommends updating to the latest version to resolve the issue [3]. The advisory does not specify a fixed version [3].
Remediation checklist
Evidence gaps
- The sources do not describe the technical mechanics of the vulnerability beyond the handling of specially crafted files [3].
- The sources do not provide specific root cause analysis beyond the improper handling of input data [3].
- The sources do not specify the exact versions of jq that are affected beyond the range ≤ 1.8.1 [1].
- The sources do not mention any exploitation status for this vulnerability [3].
- The sources do not provide any indicators of compromise related to this vulnerability [3].
- The sources do not give any detection guidance or commands for this vulnerability [3].
- The sources do not provide any mitigations or workarounds specific to this vulnerability [3].
References
- CVE-2026-41257 record. NIST National Vulnerability Database (NVD), 2026-10-26. https://nvd.nist.gov/vuln/detail/CVE-2026-41257. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- Vendor bulletin page (ubuntu.com). ubuntu.com. https://ubuntu.com/security/notices/USN-9292-1. Accessed 2026-12-01.
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 · 6.4
An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| jqlang jq | <= 1.8.1 | — |
Public exploits
Exploit available
Frequently asked questions
What is CVE-2026-41257?
CVE-2026-41257 affects the jq JSON processor, allowing attackers to trigger denial of service or arbitrary code execution via specially crafted input. The CVSS 3.1 score is 5.5 MEDIUM, scored by nvd@nist.gov. The vulnerability impacts versions of jq up to 1.8.1. Weakness type: Integer Overflow or Wraparound (CWE-190).
How severe is CVE-2026-41257?
CVE-2026-41257 has a CVSS 4.0 base score of 6.4 (medium), from the CNA (github.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-41257 being exploited?
Not as far as is known: CVE-2026-41257 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.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-41257?
jqlang jq <= 1.8.1.
How do I fix CVE-2026-41257?
Update to the latest version of jq to resolve the issue. Verify the installed version of jq is not ≤ 1.8.1. Monitor for any signs of unusual activity that may indicate exploitation.