SB20261202209 - Ubuntu update for jq



SB20261202209 - Ubuntu update for jq

Published: December 2, 2026

Security Bulletin ID SB20261202209
CSH Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 33% Medium 33% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 vulnerabilities.


1) Improper Neutralization of Null Byte or NUL Character (CVE-ID: CVE-2026-41256)

CWE-ID: CWE-158 - Improper Neutralization of Null Byte or NUL Character

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass intended jq program integrity checks.

The vulnerability exists due to improper neutralization of null byte or NUL character in the top-level jq program compilation path when loading a jq program from a file with -f. A remote attacker can supply a crafted filter file containing an embedded NUL byte to bypass intended jq program integrity checks.

User interaction is required to run jq with the crafted filter file.


2) Integer overflow (CVE-ID: CVE-2026-41257)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to integer overflow in stack_reallocate in the jq VM stack when processing deeply nested generator forks. A local user can supply crafted jq input to trigger signed integer overflow and abort the process to cause a denial of service.

In the observed case, the wrapped allocation size causes memory allocation failure and process abort. A small positive truncation may also lead to a wild memmove write before the buffer.


3) Improper Neutralization of Null Byte or NUL Character (CVE-ID: CVE-2026-43895)

CWE-ID: CWE-158 - Improper Neutralization of Null Byte or NUL Character

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to compromise the target system.

The vulnerability exists due to improper neutralization of null byte or NUL character in src/linker.c. A local user can cause the target application to load a different module or JSON data file than the one approved by the policy layer.


4) Uncontrolled Recursion (CVE-ID: CVE-2026-43896)

CWE-ID: CWE-674 - Uncontrolled Recursion

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to uncontrolled recursion in the "jv_object_merge_recursive()" function in src/jv.c. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


5) Uncontrolled Recursion (CVE-ID: CVE-2026-44777)

CWE-ID: CWE-674 - Uncontrolled Recursion

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled recursion in jq module loader when processing mutually including modules through the -L / include mechanism. A remote attacker can provide a valid pair of mutually including modules to cause a denial of service.

Exploitation requires jq to run against attacker-influenced programs or attacker-influenced module search paths.


6) Out-of-bounds write (CVE-ID: CVE-2026-49839)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in the --rawfile handling in jv_load_file() when processing an attacker-controlled file. A remote attacker can supply a crafted oversized file to cause a denial of service.

User interaction is required to process the crafted file, and the heap-buffer-overflow occurs in assertion-disabled builds after a handled "String too long" error is reused as a string state.


Remediation

Install update from vendor's website.