255: The Tiny Key Size That Left Billions of Devices Exposed
A one-byte key length in eight leaked certificates allows attackers to impersonate any domain, forcing urgent updates across global networks.
By Tariq Mahmoud ·

The internet’s trust system just took a significant hit, and the fix requires a massive, coordinated effort from every device maker on Earth. For the past week, systems administrators have been scrambling to patch a critical vulnerability in PHP, but a new, equally dangerous leak has added another layer of complexity. This time, the issue isn't a bug in the code, but a fundamental failure in how security keys were generated, leaving open the door for attackers to masquerade as any website or software vendor they choose.
The core of the problem lies in a set of eight intermediate certificates issued by an Indian certification authority named eMudhra. Six of these were for TLS, and two were for code signing. The private keys for these certificates were only one byte long. In computer terms, that means the secret number protecting the connection could be any value from zero to 255. To a determined attacker, that is an incredibly small number to guess, making it possible to crack the encryption in a split second.
This vulnerability affects how your device verifies that a website or app is who it claims to be. Normally, your operating system checks a chain of trust, ensuring that the certificate comes from a known, reliable source. However, because these eight specific certificates had such weak keys, anyone intercepting your network traffic could generate a valid-looking certificate for a major site like apple.com or bankofamerica.com. Your computer would accept the connection as secure, even though you were actually talking to an attacker.
The potential for abuse extends beyond just web browsing. The two code-signing certificates mean that malware could be stamped as legitimate, appearing to come from trusted names like Microsoft or Google. This trick works for anyone in the middle of your data path, whether that is a public Wi-Fi hotspot, a corporate network, or even a government entity monitoring traffic. If your software hasn't been updated to reject these specific certificates, it has no way of knowing the difference between the real thing and the fake.
Fortunately, there is a partial safety net for many users. Recent versions of major browsers like Chrome, Brave, Firefox, and Safari use a feature called Certificate Transparency. This system checks public logs to ensure that certificates were issued properly. According to Google, none of the certificates signed by the affected eMudhra intermediates appeared in those logs, which suggests that standard web browsing was likely protected for many people. However, this does not guarantee safety for every application on your machine.
The real challenge now is the sheer scale of the update required. It is not just about updating your web browser. The list of affected software includes operating systems, servers, smartphones, tablets, routers, and virtual machines. It also covers programming languages like Python and Go, as well as standalone tools like curl. Every one of these needs to be patched to either revoke the bad certificates or remove the affected root certificate from their trusted lists.
While the immediate threat can be mitigated by patching, the long-term risk remains for older hardware. Legacy devices, such as old routers, smart home appliances, and aging computers, may not receive updates for a long time, or ever. These devices will continue to trust the compromised keys, creating a persistent weak link in the global security chain. For now, the best advice is to check for updates on all your devices and install them immediately.
Source: Tom's Hardware


