Insights

    Is SHA-256 broken? The December 2026 encryption warning explained

    By Simon Bumford, Founder of EveryHost10 min read

    No, SHA-256 is not broken. This week's warnings from the US government and Cloudflare are about RSA and elliptic curve cryptography, a different kind of maths, and the discovery behind them has not been made public. This page sets out what was actually said, what is true about SHA-256, and what it means for a UK online shop. We checked every source on Thursday 3 December 2026 and will update this page as more is published.

    Is SHA-256 broken? Not broken. The warning is elsewhere. Collisions found only on cut-down versions, up to 38 of 64 steps. The warning is about RSA and elliptic curve cryptography. NIST and the NCSC: SHA-256 can still be used.

    The short answer

    • No, SHA-256 is not broken. The furthest collision we found that anyone has actually produced is on a cut-down 38-step version. The real thing runs 64 steps. Neither the US government statement nor Cloudflare's blog posts mention SHA-256.
    • The real warning is about RSA and elliptic curve cryptography. That is the maths used to set up secure connections and prove a website is genuine.
    • The US government says there is no "immediate and widespread threat". What was actually found has not been made public.
    • Nothing needs switching off in your shop today. The fix is a move to newer "post-quantum" encryption, and for most small businesses it arrives through software updates.

    Want to know what this means for your own Magento store? Talk to us. Our Magento hosting plans start from £119 a month + VAT, with 24/7 UK support by ticket.

    What actually happened

    DateWhat happened
    Tuesday 1 December 2026Cloudflare's blog responded to four maths papers that Anthropic had published about the newer post-quantum encryption methods. Cloudflare wrote: "This research is purely theoretical, and does not impact the security of deployed cryptosystems."
    Wednesday 2 December 2026Three US government bodies (the Office of the National Cyber Director, the NSA and CISA) put out a joint statement. It says American AI companies "have disclosed discoveries that impact the security of some cryptography currently in use".
    Wednesday 2 December 2026Eight companies (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle) issued a joint statement backing the government's advice to move to post-quantum encryption "as soon as possible".
    Thursday 3 December 2026News outlets reported posts on X by Cloudflare's chief executive, Matthew Prince, and by Elon Musk. Both are covered below.
    Thursday 3 December 2026Cloudflare published "Project Quantum Leap", bringing forward the date it plans to be fully post-quantum from 2029 to 2027.

    Sources: Cloudflare, 1 December, the joint government statement on CISA's website, the companies' statement and Cloudflare, 3 December.

    The government statement names no algorithm. Its own assessment is that the recent advances "do not present an immediate and widespread threat to that cryptography". The Record reports that the NSA's separate guidance "does not say those algorithms have been broken or weakened".

    What did Cloudflare say?

    We found no statement from Cloudflare about SHA-256 being at risk.

    Its chief executive, Matthew Prince, posted on X: "Yes, we were briefed on something. Yes, it's a big deal. No, we can't give you all the details yet." Asked which systems could be affected, he replied: "Assume anything that uses RSA or Elliptic Curve cryptography." Both quotes are as reported by NBC News and Cointelegraph.

    On Thursday 3 December 2026 Cloudflare followed up on its blog with Project Quantum Leap. It says it will move every system that depends on RSA or elliptic curve cryptography to post-quantum cryptography "two years sooner than we'd planned", and that it plans to issue its first post-quantum certificates in early 2027. That post does not say what the discovery was either.

    So the "secret" is simply that the finding is unpublished. Nobody has said in public what was found, who found it, or exactly which methods it affects.

    What did Elon Musk say?

    According to NBC News, Elon Musk posted on X that it was "very important to upgrade your cryptography. Older protocols are no longer secure." He did not name a protocol. We found no post in which he mentions SHA-256.

    So where does "256" come from?

    This part is our reading, not something any source states. Three different things have 256 in the name, and they are easy to mix up:

    • SHA-256 is a hash function. It turns any data into a short fingerprint. It does not encrypt anything.
    • AES-256 is an encryption method. It is what "256-bit encryption" normally means.
    • 256-bit elliptic curves, such as P-256, are a type of public-key cryptography. This is the family Matthew Prince named.

    The third one is the one in the news. Cryptography engineer Filippo Valsorda read the NSA's guidance and concluded that "256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought". That is his inference from the wording, not a confirmed fact, and it is not about SHA-256.

    Is SHA-256 broken?

    No. NIST, the US standards body, says on its hash function policy page: "Currently there is no need to transition applications from SHA-2 to SHA-3." SHA-256 is part of the SHA-2 family. That page was last updated on Wednesday 16 September 2026.

    Has a SHA-256 collision been found?

    Not on the real thing. A collision means finding two different inputs that give the same fingerprint. SHA-256 runs its recipe for 64 steps, and researchers test it by attacking versions cut down to fewer steps.

    • 35 steps. A paper accepted at the CRYPTO 2026 conference reports the first practical collision on a 35-step version.
    • 38 steps. A paper by Omer Goldzweig, posted on Saturday 21 November 2026, reports a collision on a 38-step version, found with 53 GPU-hours of searching. It is a preprint, which means other experts have not yet reviewed it.

    The Ethereum Foundation summed it up on Tuesday 24 November 2026: "practical collisions reach 35 of its 64 rounds, and the best collision attack reaches 38".

    Other papers go further on paper only. A preprint posted in November 2026 estimates the cost of a 39-step collision at 2^108.8 operations (2 multiplied by itself about 109 times), without producing one. A EUROCRYPT 2026 paper describes attacks of a different kind, called preimage attacks, on 46 and 47 steps.

    Attacking a cut-down version is how researchers measure the safety margin. It is not a way to attack the full 64 steps.

    Is SHA-256 quantum safe?

    The UK's National Cyber Security Centre (NCSC) says it is not significantly affected by quantum computers. Its white paper on post-quantum cryptography says: "The security of hash functions such as SHA-256 is also not significantly affected, and secure hash functions can also continue to be used."

    Is RSA 2048 still secure?

    Nobody has said in public that it has been broken. NBC News reports that the statements "did not say what exactly had been discovered and what was at risk". What we can say is this:

    • Cloudflare's chief executive says to assume RSA and elliptic curve cryptography are affected.
    • RSA was already on its way out. NIST's transition report, dated October 2026, lists RSA and the main elliptic curve signature methods as "Deprecated after 2030" and "Disallowed after 2035".
    • Those dates were set before this week's warning. The government and the eight companies are now asking for the move to happen sooner.

    Is HTTPS still secure?

    The US government's assessment is that there is no "immediate and widespread threat", and none of the statements above tells website owners to turn anything off. HTTPS uses RSA or elliptic curve cryptography for two jobs, and the two are at different stages:

    • Agreeing a secret key. The post-quantum version of this is already in use. Cloudflare says 73% of human connections to its network now use post-quantum encryption.
    • Proving the site is genuine (the certificate). Let's Encrypt, the free certificate provider, describes today's web certificates as using RSA-2048 and ECDSA-P256 signatures. Its post-quantum certificates are still being built. Let's Encrypt said on Wednesday 3 June 2026 that it is targeting 2027 for a production-ready service.

    The reason key agreement came first is a risk called "harvest now, decrypt later": someone records encrypted traffic today and decodes it years from now.

    Post-quantum encryption. New locks are coming. Fitted by updates. Post-quantum key exchange is already in use. Post-quantum certificates are planned for 2027. NCSC: plan by 2028, finish by 2035.

    What this means for a Magento store

    SHA-256 in Magento. Magento can use SHA-256 for passwords, but it should not be doing so on a modern server. Adobe's documentation says: "If the Sodium extension is installed (installed by default in PHP 7.3), then Argon 2ID13 is chosen as the default hashing algorithm. Otherwise, SHA256 is the default."

    This has nothing to do with this week's news. It matters because SHA-256 is built to be fast, and fast is the wrong quality for storing passwords. OWASP, the web security body, says: "Fast hashing algorithms such as SHA‑256 are not suitable for password storage because they allow attackers to perform large numbers of guesses quickly."

    Your developer can check with php -m | grep sodium. Adobe also documents a command, bin/magento customer:hash:upgrade, which upgrades customer password hashes to the latest method.

    The SSH warning developers are seeing. Recent versions of OpenSSH, the tool developers use to log in to a server, print this when a connection uses an older method: "WARNING: connection is not using a post-quantum key exchange algorithm." The OpenSSH project says the warning arrives in version 10.1 and that "The server may need to be upgraded." It also says OpenSSH has offered post-quantum key agreement by default since version 9.0 in April 2022. If your developer sees this warning, your server's SSH software may be out of date or set to use older methods, and is worth checking.

    What a UK online shop should do now

    This section is our advice, based on the sources above.

    1. Don't change anything because of a SHA-256 headline. NIST and the NCSC are not asking you to.
    2. Keep everything updated. That means the server's operating system, the web server, PHP and Magento. The NCSC says that for small and medium-sized businesses using standard software, the move "should happen seamlessly, as services are updated by their vendors". We cover keeping Magento patched and how to check which patches your store has separately.
    3. Use TLS 1.3. If your store sits behind Cloudflare, its documentation says post-quantum key agreement is "only supported in protocols based on TLS 1.3".
    4. Keep certificate renewal automatic. When new types of certificate arrive, an automatic renewal is the easy way to get them.
    5. Check PHP Sodium is installed, so Magento stores passwords with Argon2 and not SHA-256.
    6. Ask your host two questions. Which versions of OpenSSL and OpenSSH do my servers run? And what is your plan for post-quantum encryption?
    7. Put it in your plans. The NCSC's timeline asks organisations to have a plan by 2028, to move their highest-priority systems by 2031 and to finish by 2035. It was published on Thursday 20 March 2025, before this week's warning.

    If you would rather have someone else keep the server up to date, our Magento managed services cover it, and on Fully Managed we apply Magento security patches for you.

    What we don't know yet

    • What was found. The discovery, the company behind it and the methods it affects have not been made public.
    • Whether the timelines will move. The NCSC and NIST dates above were set before this week. Cloudflare has already brought its own date forward to 2027.

    We'll update this page when the finding is published, or when NIST or the NCSC changes its advice.

    Frequently asked questions

    No. NIST says there is currently no need to move applications from SHA-2, the family SHA-256 belongs to, to SHA-3. The furthest collision anyone has produced is on a cut-down 38-step version; the real function runs 64 steps.

    Only on cut-down versions. A paper accepted at CRYPTO 2026 reports a practical collision on 35 steps, and a preprint posted on 21 November 2026, not yet reviewed by other experts, reports one on 38 steps. No collision has been shown on the full 64 steps.

    The UK's National Cyber Security Centre says the security of hash functions such as SHA-256 is not significantly affected by quantum computers and that secure hash functions can continue to be used.

    Cloudflare's chief executive, Matthew Prince, said the company had been briefed on something, that it was a big deal, and that people should assume anything using RSA or elliptic curve cryptography is affected. On 3 December 2026 Cloudflare said it now plans to be fully post-quantum in 2027, two years earlier than planned. We found no Cloudflare statement about SHA-256 being at risk.

    Nobody has said in public that it has been broken, and the US government statement names no algorithm. Cloudflare's chief executive says to assume RSA and elliptic curve cryptography are affected, and NIST already plans to deprecate RSA after 2030 and disallow it after 2035.

    The US government's assessment is that recent advances do not present an immediate and widespread threat. Post-quantum key exchange is already in use for many HTTPS connections, and post-quantum certificates are planned for 2027.

    Keep the server, PHP and Magento updated, use TLS 1.3, keep certificate renewal automatic and check that PHP's Sodium extension is installed so passwords are stored with Argon2. The NCSC asks organisations to plan their post-quantum move by 2028 and finish it by 2035.

    Running Magento? Give it a server built for Magento.

    Our Magento hosting plans start from £119 a month + VAT, with 24/7 UK support by ticket and free managed migration for Magento 2 stores. Tell us about your store and we will tell you what it needs.