SB2026051149 - Multiple vulnerabilities in jq
Published: May 11, 2026 Updated: August 19, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 vulnerabilities.
1) Out-of-bounds write (CVE-ID: CVE-2026-43894)
CWE-ID: CWE-787 - Out-of-bounds write
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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 decNumber D2U() macro in decNumberFromString when processing an extremely large decimal string via tonumber. A remote attacker can supply a specially crafted number string to cause a denial of service.
The issue is triggered by signed integer overflow and is reachable through tonumber on a string built via the multiplication operator rather than through raw JSON number parsing.
2) Stack-based buffer overflow (CVE-ID: CVE-2026-47770)
CWE-ID: CWE-121 - Stack-based buffer 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 stack-based buffer overflow in deep structural equality when parsing input. A local user can supply specially crafted input to cause a denial of service.
3) Reliance on undefined behavior (CVE-ID: N/A)
CWE-ID: CWE-758 - Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
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 improper pointer arithmetic in jvp_utf8_backtrack in jv_unicode.c when parsing input. A local user can supply specially crafted input to cause a denial of service.
4) Reliance on undefined behavior (CVE-ID: N/A)
CWE-ID: CWE-758 - Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
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 improper pointer arithmetic in jvp_utf8_next in jv_unicode.c when parsing input. A local user can supply crafted input to cause a denial of service.
5) 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.
6) Integer overflow (CVE-ID: CVE-2026-54679)
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 or execute arbitrary code.
The vulnerability exists due to integer overflow leading to a heap-based buffer overflow in jvp_string_append when appending data to strings on 32-bit systems. A local user can supply crafted input that triggers oversized string growth calculations to cause a denial of service or execute arbitrary code.
Only 32-bit systems are affected.
7) 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.
Remediation
Install update from vendor's website.
References
- https://github.com/jqlang/jq/security/advisories/GHSA-5v7p-2r57-2g4g
- https://github.com/jqlang/jq/security/advisories/GHSA-3pgx-frr7-3jxp
- https://github.com/jqlang/jq/security/advisories/GHSA-gvwx-xj9r-3frq
- https://github.com/jqlang/jq/security/advisories/GHSA-ggc9-rpv2-xgpm
- https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm
- https://github.com/jqlang/jq/security/advisories/GHSA-29gj-222p-j7vx
- https://github.com/jqlang/jq/security/advisories/GHSA-rmpv-jgvr-wpr9
- https://github.com/jqlang/jq/commit/5f2a14dd1b03a8b43015058ed006dd4ab24fb58f