Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0295
Published:November 02, 2026
Updated:November 13, 2026
Netty io.netty:netty-buffer 4.1.0.Final through 4.1.139.Final and 4.2.0.Alpha1 through 4.2.19.Final: ByteBuf string accessors do not check bounds against the buffer. readCharSequence(int, Charset) and readString(int, Charset) do not check length against readableBytes() and return stale bytes past writerIndex, and since 4.1.31 AbstractByteBuf.toString(int, int, Charset) passes array() and arrayOffset()+index straight to new String(), so on pooled or adaptive heap buffers an out-of-range index or length returns the contents of neighbouring buffers instead of throwing. Fixed in 4.1.140.Final and 4.2.20.Final, not yet public; no CVE assigned).
Affected Packages
https://github.com/netty/netty.git (GITHUB):
Affected version(s) >=netty-4.2.0.Alpha1 <netty-4.2.20.Final
Fix Suggestion:
Update to version netty-4.2.20.Final
https://github.com/netty/netty.git (GITHUB):
Affected version(s) >=netty-4.1.0.Final <netty-4.1.140.Final
Fix Suggestion:
Update to version netty-4.1.140.Final
io.netty:netty-buffer (JAVA):
Affected version(s) >=4.1.0.Final <4.1.140.Final
Fix Suggestion:
Update to version 4.1.140.Final
io.netty:netty-buffer (JAVA):
Affected version(s) >=4.2.0.Alpha1 <4.2.20.Final
Fix Suggestion:
Update to version 4.2.20.Final
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Out-of-bounds Read