JLSEC-2026-2030: Buffer Overflow
A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream.
Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.
p7zipjll includes the affected Brotli decoder only in the non-Windows p7zip fork builds from 17.4.0+0 through 17.6.1+0. DuckDB first included a vendored Brotli decoder in 1.1.0+0 and fixed it in 2.0.1+0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/DuckDB_jllto a version that resolves this vulnerability.Fixed in 2.0.1+0 - Upgrade
Upgrade
julia/brotli_jllto a version that resolves this vulnerability.Fixed in 1.2.1+0 - Upgrade
Upgrade
julia/p7zip_jllto a version that resolves this vulnerability.Fixed in 17.7.0+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.0.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.1.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.2.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.0.1+0
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
The attacker needs to supply a crafted Brotli-compressed stream to a vulnerable decoder. Exploitation is remote and does not require authentication or user interaction.
Which p7zip_jll deployments are affected?
Only non-Windows p7zip fork builds are affected, specifically versions 17.4.0+0 through 17.6.1+0. Windows builds are not identified as including the affected decoder.
How can I determine whether DuckDB needs updating?
DuckDB first included a vendored Brotli decoder in version 1.1.0+0. The issue is fixed in DuckDB 2.0.1+0.
What upgrade versions are identified as remediated?
Update affected Brotli libraries or binaries to 1.0.10, 1.1.1, or 1.2.1, as applicable. These updates address the affected Brotli versions from 1.0.3 through 1.2.0.