A compensating control is a safeguard used when the preferred fix, usually a patch or firmware update, cannot be applied right away. Instead of removing the bug, it reduces exposure by limiting who can reach the vulnerable system or by shrinking the attack surface. Common examples include access control lists, network segmentation, firewall rules, trusted-IP allowlists, disabling unused interfaces, and shutting down a risky service or port.
This matters in cyber security because many devices, especially industrial and embedded systems, cannot be taken offline easily. If a flaw can be triggered by a malformed packet or another simple request, defenders may use compensating controls to block that path until a permanent fix is available. In real environments, these measures buy time, contain blast radius, and help prevent denial-of-service events or unauthorized access when patching is delayed or impossible.


