CVE-2025-24934 Details
Description
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.
A vulnerability exists in FreeBSD's handling of UDP sockets that use the SO_REUSEPORT_LB option for load balancing. When a socket is connected to a host, it should only receive packets from that host. However, due to a kernel oversight, connected sockets in a load-balancing group can receive packets from any source. This behavior violates the expected connection contract and exposes applications to potential spoofing attacks.
Users can upgrade to a supported FreeBSD stable or release branch dated after the correction date. Instructions for applying the update via the FreeBSD Update utility or by manually patching the source code are available in the FreeBSD Security Advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2025CISA-ADP
Assessed Oct 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-488 | Exposure of Data Element to Wrong Session | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FreeBSD | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | CVE Modified | [email protected] |
| Oct 22, 2025 | CVE Modified | CISA-ADP |
| Oct 22, 2025 | New CVE Received | [email protected] |
Volerion