# CVE-2025-24934: SO_REUSEPORT_LB breaks connect(2) for UDP sockets

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-10-22T17:43:12.326Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-488
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.0-BETA2 before p1; from 14.3-RELEASE before p5; from 13.5-RELEASE before p6

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-25:09.netinet.asc> (vendor-advisory)
- <https://www.usenix.org/system/files/conference/usenixsecurity26/sec26_prepub_ben-simhon.pdf> (technical-description)

## Sources

- CVE List: [CVE-2025-24934](https://www.cve.org/CVERecord?id=CVE-2025-24934), CVE Terms of Use, modified 2026-04-23
- NVD: [CVE-2025-24934](https://nvd.nist.gov/vuln/detail/CVE-2025-24934), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-24934 · Whole record: https://cve.day/CVE-2025-24934.json · Rebuilt by cve.day 2026-11-25T22:59:06.720Z
