USN-9292-1: jq vulnerabilities
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 cause jq to open a different file than the one validated by policy or audit code. (CVE-2026-43895)
It was discovered that jq did not properly limit the recursion depth when recursively merging objects. An attacker could possibly use this issue to cause a crash, resulting in a denial of service. (CVE-2026-43896)
It was discovered that the jq module loader did not detect circular module imports. An attacker could possibly use this issue to cause a crash, resulting in a denial of service. (CVE-2026-44777)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/jqto a version that resolves this vulnerability.Fixed in 1.8.1-4ubuntu2.1 - Upgrade
Upgrade
ubuntu/libjq1to a version that resolves this vulnerability.Fixed in 1.8.1-4ubuntu2.1 - Upgrade
Upgrade
ubuntu/jqto a version that resolves this vulnerability.Fixed in 1.7.1-3ubuntu0.24.04.3 - Upgrade
Upgrade
ubuntu/libjq1to a version that resolves this vulnerability.Fixed in 1.7.1-3ubuntu0.24.04.3 - Upgrade
Upgrade
ubuntu/jqto a version that resolves this vulnerability.Fixed in 1.6-2.1ubuntu3.3 - Upgrade
Upgrade
ubuntu/libjq1to a version that resolves this vulnerability.Fixed in 1.6-2.1ubuntu3.3
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What attacker-controlled content would make a deployment relevant?
The issues are relevant when jq processes specially crafted program or data files. Module-related cases additionally involve module import paths, including paths containing NUL bytes, and circular module imports.
Which of these issues can lead to arbitrary code execution rather than only service disruption?
CVE-2026-41256, CVE-2026-41257, and CVE-2026-49839 may allow either a crash causing denial of service or arbitrary code execution. The recursive-merge and circular-import issues are described as denial-of-service crashes.
Why is the NUL-byte module import issue significant for environments with validation controls?
A NUL byte in a module import path can cause jq to open a different file from the one validated by policy or audit code. This can undermine controls that approve or log module paths before jq loads them.