Live threats

All CVEs / Netty

CVE-2026-59921Netty

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Jul 28, 2026
Updated
Aug 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, HttpPostRequestEncoder constructs multipart HTTP request bodies by directly concatenating user-supplied filenames and field names into Content-Disposition MIME headers without validating or sanitizing CRLF characters (\r\n). Since MIME headers are delimited by CRLF, an attacker who controls the filename can inject arbitrary MIME headers into the multipart body part. The root cause is that neither the encoder nor the FileUpload implementations' setFilename() methods, which only check for null, neutralize CRLF characters before the filename is embedded into the header. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.

Original NVD text.

What to do

  1. Apply the vendor's security update for Netty.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.netty:netty-codec-http ≥ 4.2.0.Final < 4.2.16.Final 4.2.16.Final —
Maven io.netty:netty-codec-http < 4.1.136.Final 4.1.136.Final —

Per OSV / GitHub Advisories (GHSA-gcjf-9mgh-3p7g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nettynetty< 4.1.136
nettynetty≥ 4.2.0 < 4.2.16

Official sources

References

Links published by the sources. Open them with care.