CVE-2025-24934
published medium CVSS 3.1 · 5.4SO_REUSEPORT_LB breaks connect(2) for UDP sockets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD15.0-BETA2 to < p1 · 14.3-RELEASE to < p5 · 13.5-RELEASE to < p6 · Other versions: unknown | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 15.0-BETA2 to < p1 (affected · beta)14.3-RELEASE to < p5 (affected · release)13.5-RELEASE to < p6 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-488 CWE-488: Exposure of Data Element to Wrong Session
References
2Provider assertions
2freebsd · cna
SO_REUSEPORT_LB breaks connect(2) for UDP sockets
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c243a35790b0ed99b4ba49b9bf675bbf905227a2f7806d99a74eaf6625f4bdac
- Ingested
- 23 Sep 2026, 08:41:39 UTC
- Source record
- Official CVE record