CVE-2026-142439: Io.netty/netty-transport-classes-io_uring: netty: iouringbufferring.nextbid() predicts wrong buffer id under recvsend_bundle

Published Dec 2, 2026
·
Updated

A flaw was found in Netty's iouring (a Linux asynchronous input/output framework) transport component. A remote attacker could exploit this vulnerability by sending specific network data patterns when receive/send buffer bundling is enabled, causing Netty to miscalculate memory buffer positions. This can result in memory corruption via a use-after-free condition, delivery of incorrect data, or memory buffer leaks.

Other sources

Netty's iouring transport can compute the wrong next buffer id when it walks the provided-buffer ring entries of a single IORINGRECVSENDBUNDLE completion. IoUringBufferRing.nextBid masks the incremented id with allocatedBuffers - 1. That is only correct if allocatedBuffers is a power of two and has not changed since the kernel consumed the entries. It breaks in two cases: the ring has a non-power-of-two size because batchSize is smaller than half of ringSize, so it grows in non-power-of-two steps, or the ring expands while a bundle is being processed, which changes allocatedBuffers between the buffer release and the nextBid call.

A remote peer that sends data in a pattern producing bundle completions can trigger the condition. Netty then reads the wrong ring slot, which can deliver wrong or foreign data from a buffer still posted for other reads to the pipeline. The buffer the kernel actually filled is never delivered and its id is never recycled, causing a buffer leak or ring stall. A ring entry can also be left pointing at a buffer Netty has already released, so a later kernel write could land in released memory, which is a possible use-after-free.

Only users of netty-transport-classes-iouring on Linux that use a provided buffer ring (IoUringBufferRingConfig) and have explicitly enabled RECVSENDBUNDLE are affected. This option is disabled by default (io.netty.iouring.recvsendBundleEnabled=false). Versions 4.2.0.Final through 4.2.18.Final are affected, and the issue is fixed in 4.2.19.Final.

Affected versions: >=4.2.0.Final, <=4.2.18.Final Patched versions: 4.2.19.Final CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (5.3) CWE: CWE-416, CWE-682 Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-x2j7-6j3j-5vwj CVE requested by the Netty Project via PSIRTSUPT-32166.

— Red Hat

Affected Software

1 affected component
maven/io.netty/netty-transport-classes-io_uring>=4.2.0.Final<=4.2.18.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade io.netty/netty-transport-classes-io_uring to a version that resolves this vulnerability.

    Fixed in 4.2.19.Final
  2. Configuration

    Disable RECVSEND_BUNDLE by setting io.netty.iouring.recvsendBundleEnabled to false if it is enabled.

    Netty io_uring transport io.netty.iouring.recvsendBundleEnabled = false

Event History

Dec 2, 2026
Data Sourced
via Red Hat·04:49 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What deployment conditions are required for exploitation?

The Netty io_uring transport must be in use with receive/send buffer bundling enabled. The issue can occur when the provided-buffer ring has a non-power-of-two size due to growth behavior, or when the ring expands while a bundle is being processed.

2

Does exploitation require authentication or user interaction?

No. The supplied vector indicates network access with low attack complexity, no privileges, and no user interaction; a remote peer can trigger the issue by sending data patterns that produce bundled completions.

3

What are the likely effects if the condition is triggered?

Netty may read the wrong provided-buffer ring slot, leading to use-after-free memory corruption, incorrect data delivery, or memory buffer leaks. The stated impact is integrity-related, with no listed confidentiality or availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203