Bug 2588747 (CVE-2026-142455)

Summary: CVE-2026-142455 io.netty/netty-codec-http: Netty: HttpContentDecompressor Brotli maxAllocation incomplete fix permits 64 KiB output buffers below cap
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ant, anujha, aschwart, asoldano, asyoung, aszczucz, bbaranow, bmaxwell, boliveir, bstansbe, ccranfor, cescoffi, chfoley, cmah, csuconic, dbruscin, dhanak, dlofthou, drichtar, drosa, dsimansk, ehelms, ewittman, fmariani, fmongiar, gmalinko, gsmet, gtanzill, gtully, istudens, ivassile, iweiss, janstey, jbaesner, jbuscemi, jkrystof, jmartisk, jnethert, jpasqual, jpechane, jsherman, jturenov, juwatts, jwon, kaycoth, kingland, kvanderr, lblicha, manderse, mcarlett, mhulan, mnovotny, mosmerov, mposolda, msvehla, nipatil, nwallace, ogajduse, olubyans, osousa, ozzy, pantinor, pberan, pdelbell, pesilva, pjindal, pmackay, prichard, rchan, rgemmell, rgodfrey, rguimara, rkubis, rmartinc, rstancel, rstepani, sausingh, sbiarozk, sdawley, smallamp, ssilvert, sthirugn, sthorger, swoodman, tbish, tcunning, thjenkin, tlavocat, tmielke, tzimanyi, varjain, vdosoudi, vmuzikar, yfang, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in netty-codec-http. A remote attacker can exploit this vulnerability by sending a Brotli-compressed HTTP request body to an application configured with a custom memory allocation limit. Due to improper buffer size enforcement during Brotli decompression, Netty allocates up to the default buffer size regardless of the configured lower limit, leading to excessive memory consumption and a potential Denial of Service (DoS) in memory-constrained environments.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 16:50:23 UTC
HttpContentDecompressor(int maxAllocation) is documented to limit the size of the decompression buffer. For Content-Encoding: br, it passes maxAllocation to the single-argument BrotliDecoder constructor, which treats the value as the input-buffer size, not the output cap. The decoder's output buffer therefore stays at the default of 64 KiB. This is an incomplete fix for CVE-2026-42587, which addressed maxAllocation bypasses for Brotli, Snappy and Zstd.

A remote peer that sends a Brotli-compressed HTTP body can cause Netty to allocate and forward decompressed buffers of up to 65,536 bytes even when the application configured a smaller limit, such as 1024 bytes. Other encodings such as gzip enforce the configured limit. The impact is limited resource consumption, bounded by the 64 KiB default, and it weakens decompression-bomb protection in memory-constrained deployments.

Affected are users of netty-codec-http that use HttpContentDecompressor with a nonzero maxAllocation below 65,536 and that have Brotli support available at runtime. The affected versions are 4.2.13.Final up to but not including 4.2.16.Final, and 4.1.133.Final up to but not including 4.1.137.Final. Releases 4.2.16.Final and 4.1.137.Final contain the fix.

Affected versions: >= 4.2.13.Final, < 4.2.16.Final; >= 4.1.133.Final, < 4.1.137.Final
Patched versions: 4.2.16.Final; 4.1.137.Final
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (5.3)
CWE: CWE-400, CWE-770
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-j23p-mh75-24rx
CVE requested by the Netty Project via PSIRTSUPT-32166.