USN-9292-1: jq vulnerabilities

Published Dec 1, 2026
·
Updated

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

15 affected componentsFixes available
All of the following
ubuntu/jq<1.8.1-4ubuntu2.1
1.8.1-4ubuntu2.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libjq1<1.8.1-4ubuntu2.1
1.8.1-4ubuntu2.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/jq<1.7.1-3ubuntu0.24.04.3
1.7.1-3ubuntu0.24.04.3
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libjq1<1.7.1-3ubuntu0.24.04.3
1.7.1-3ubuntu0.24.04.3
Ubuntu Ubuntu=24.04
All of the following
ubuntu/jq<1.6-2.1ubuntu3.3
1.6-2.1ubuntu3.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libjq1<1.6-2.1ubuntu3.3
1.6-2.1ubuntu3.3
Ubuntu Ubuntu=22.04
ubuntu/jq<1.6-2.1ubuntu3.3
1.6-2.1ubuntu3.3
ubuntu/jq<1.7.1-3ubuntu0.24.04.3
1.7.1-3ubuntu0.24.04.3
ubuntu/jq<1.8.1-4ubuntu2.1
1.8.1-4ubuntu2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/jq to a version that resolves this vulnerability.

    Fixed in 1.8.1-4ubuntu2.1
  2. Upgrade

    Upgrade ubuntu/libjq1 to a version that resolves this vulnerability.

    Fixed in 1.8.1-4ubuntu2.1
  3. Upgrade

    Upgrade ubuntu/jq to a version that resolves this vulnerability.

    Fixed in 1.7.1-3ubuntu0.24.04.3
  4. Upgrade

    Upgrade ubuntu/libjq1 to a version that resolves this vulnerability.

    Fixed in 1.7.1-3ubuntu0.24.04.3
  5. Upgrade

    Upgrade ubuntu/jq to a version that resolves this vulnerability.

    Fixed in 1.6-2.1ubuntu3.3
  6. Upgrade

    Upgrade ubuntu/libjq1 to a version that resolves this vulnerability.

    Fixed in 1.6-2.1ubuntu3.3

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·06:22 AM
Data Sourced
via OSV·06:22 AM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203