CVE-2025-24934

published 22 Oct 2025 · updated 23 Apr 2026

SO_REUSEPORT_LB breaks connect(2) for UDP sockets

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p6, p5 and p1.

Software which sets SO_REUSEPORT_LB on a socket and then connects it to a host will not directly observe any problems. However, due to its membership in a load-balancing group, that socket will receive packets originating from any host. This breaks the contract of the connect(2) and implied connect via sendto(2), and may leave the application vulnerable to spoofing attacks. The kernel failed to check the connection state of sockets when adding them to load-balancing groups. Furthermore, when looking up the destination socket for an incoming packet, the kernel will match a socket belonging to a load-balancing group even if it is connected, in violation of the contract that connected sockets are only supposed to receive packets originating from the connected host.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=13.5-RELEASE <p6, >=14.3-RELEASE <p5, >=15.0-BETA2 <p1p6, p5, p1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-24934 severity on Zeptric[![CVE-2025-24934](https://zeptric.io/badge/cve/CVE-2025-24934.svg)](https://zeptric.io/cve/CVE-2025-24934)