CVE-2026-48059
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNetty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, the HAProxy PROXY protocol v2 codec in netty leaks native or heap memory on every connection when a client sends a syntactically valid header containing nested `PP2_TYPE_SSL` TLVs (type-length-value records) at depth two or greater. The leak occurs on the successful parse path — no exception is thrown, the message fires downstream, the decoder removes itself, and the application releases the `HAProxyMessage` normally. Yet the underlying cumulation buffer (a pooled, potentially direct `ByteBuf` allocated by the channel) remains permanently pinned. Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceNetty's HAProxy PROXY protocol v2 codec contains a memory leak where nested PP2_TYPE_SSL TLVs (at depth 2+) in a syntactically valid header cause the cumulation buffer (a pooled ByteBuf) to remain permanently pinned. The message parses successfully, fires downstream, and the decoder removes itself, but the underlying buffer is never released, causing memory leakage on every affected connection.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 4.1.135>= 4.2.0, < 4.2.15CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Netty versionLocate the Netty JAR files in your deployment (e.g., in lib/, WEB-INF/lib/, or Maven local repository) and check the filename for the version number (e.g., netty-common-4.1.x.jar). Alternatively, query your dependency management (Maven pom.xml, Gradle build.gradle) for the netty version.Affected if The version is lower than 4.1.135, or is 4.2.0 through 4.2.14.
-
Confirm HAProxy PROXY protocol v2 codec is in useSearch your codebase for references to HAProxy message handling classes, such as HAProxyMessageDecoder, HAProxyProtocolCodec, or HAProxyDecoder. Check Netty server Bootstrap/ServerBootstrap pipeline configurations for these codecs.Affected if The HAProxy PROXY protocol v2 decoder/codec is configured in any Netty channel pipeline.
-
Verify SSL TLV configurationExamine the HAProxy codec/decoder initialization code for PP2_TYPE_SSL or SSL-specific TLV (Type-Length-Value) configuration. Look for any SSL option flags or TLV handler setup in the HAProxy protocol configuration.Affected if SSL TLV support (PP2_TYPE_SSL) is enabled in the HAProxy PROXY protocol configuration, particularly if nested TLVs (depth 2+) are possible.
-
Monitor for pinned memory on affected connectionsIf running in a test or staging environment, use memory profiling tools (VisualVM, JProfiler) or Netty's ResourceLeakDetector set to paranoid mode (-Dio.netty.leakDetection=PARANOID) to observe ByteBuf pool retention on connections that process HAProxy PROXY headers with nested SSL TLVs.Affected if Pooled ByteBuf instances accumulate and are not released after successful message processing on connections using the HAProxy codec with SSL TLVs.
You are affected if your deployed Netty version is below 4.1.135 or between 4.2.0 and 4.2.14, AND you use the HAProxy PROXY protocol v2 codec with SSL TLV support enabled.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.1.1354.2.15
Upgrade Netty to version 4.1.135.Final or 4.2.15.Final which contains the patch for this vulnerability. If upgrading is not immediately feasible, consider disabling or restricting HAProxy PROXY protocol v2 support until the upgrade can be completed.
4.1.135.Final (for 4.1.x line) or 4.2.15.Final (for 4.2.x line)
- Identify which Netty 4.1.x or 4.2.x version line your project currently uses by inspecting your Maven pom.xml or Gradle build file
- If using Netty 4.1.x (version < 4.1.135), upgrade netty-all or io.netty dependencies to version 4.1.135.Final
- If using Netty 4.2.x (version >= 4.2.0 and < 4.2.15), upgrade netty-all or io.netty dependencies to version 4.2.15.Final
- Update the version in your dependency management file (pom.xml, build.gradle, etc.)
- Run your build tool to fetch the new Netty version (mvn clean install or gradle build)
- Verify the upgrade by confirming the new Netty version is resolved in your dependency tree
- Test your application, particularly any functionality using HAProxy PROXY protocol v2, to confirm the memory leak is resolved
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,464.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-48059 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- github.com
- github.com
- github.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48059 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data