CWE-605: Multiple Binds to the Same Port
When multiple sockets are allowed to bind to the same port, other services on that port may be stolen or spoofed.
Last updated
Overview
CWE-605 (Multiple Binds to the Same Port) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
On most systems, a combination of setting the SO_REUSEADDR socket option, and a call to bind() allows any process to bind to a port to which a previous process has bound with INADDR_ANY. This allows a user to bind to the specific address of a server bound to INADDR_ANY on an unprivileged port.
Real-world CVEs
3 recorded CVEs are caused by CWE-605 (Multiple Binds to the Same Port). The highest-severity and most recent are shown first. 2 new CWE-605 CVEs have been recorded so far in 2026.