ai encryption vulnerabilitiesenterprise securitypost-quantum cryptography

The 'Mathocalypse' and Why Rented Security Is a Liability

AI math breakthroughs are compressing encryption's safety margin. Here's why enterprises renting security from opaque SaaS vendors can't keep pace.

Portrait of Josh
Edited by Josh, Chief of Staff, GTM & Product··RSS
A translucent cracked crystalline lattice representing breakable encryption math sits beside an opaque sealed cube of the same size whose internal state cannot be seen.

Why is rented security a liability when AI math could break encryption?

Rented security is a liability because AI math research just compressed the timeline on which RSA, ECC, and even post-quantum lattice schemes could break, and cryptographers are no longer treating that as a decades-out problem. For enterprises that store sensitive data inside third-party SaaS platforms, that shift creates a specific, compounding vulnerability: you can't inventory the cryptography protecting your data, can't see a vendor's migration roadmap, and can't accelerate re-encryption on your own timeline. Owning your infrastructure is the only way to actually control that exposure.

TL;DR

  • AI models solving long-standing math problems are shrinking the safe window for current encryption standards.
  • Only 5% of enterprises have quantum-safe encryption deployed, which leaves most of them exposed to harvest-now attacks.
  • Third-party breaches jumped 220% in two years, making them the fastest-growing and costliest enterprise risk.
  • With a SaaS vendor, your access to runtime, key management, and audit logs is contractual, not technical, so you can't inspect or force a migration.
  • Owning your infrastructure is the only way to control your encryption keys and accelerate your PQC migration.

What is the 'Mathocalypse' and how did AI rewrite the cryptography threat model?

On October 6 and 7, 2026, OpenAI released 372 AI-generated results on long-standing open math problems in a single day, including progress on the Unique Games Conjecture and the L=BPL question. Complexity theorist Scott Aaronson dubbed the event the "Mathocalypse" and noted something pointed: cryptography was conspicuously absent from the public list, even as AI labs quietly began testing whether their models could break cryptographic protocols directly.

The cryptography community didn't wait for an official announcement to react. Matthew Green, who teaches cryptography at Johns Hopkins, put it bluntly: "I think we might lose public key cryptography... encryption specifically." Ethereum researcher Justin Drake went further, urging the crypto industry into "bunker mode," a controlled migration of funds to fresh wallet addresses with unexposed public keys, warning that AI-driven math could break the elliptic curve signatures securing crypto wallets faster than any quantum computer. Vitalik Buterin backed the warning and extended it to lattice-based cryptography, the leading quantum-safe replacement, writing there is "a good chance that the concrete security of lattices will take serious hits from the next two years of AI math."

That last point matters most. Post-quantum cryptography, the industry's standard answer to quantum risk, is not automatically immune to AI-accelerated math. The safety margin everyone has been planning around just got shorter, and nobody can say by how much.

Figure 1
Third-Party Involvement in Confirmed Data Breaches
share of breaches involving a third party (%)
15%2024 DBIR30%2025 DBIR48%2026 DBIR
Verizon DBIR edition
Compiled from Verizon's 2024, 2025, and 2026 Data Breach Investigations Reports as cited in the article.
Illustrative figure. Constructed for explanation, not a measured source.

Why was encryption always a bet on unsolved math?

Public-key encryption has never been mathematically proven secure. It works because nobody has found an efficient way to factor large numbers or solve discrete logarithm problems, not because doing so is impossible. That bet was always vulnerable to a sufficiently clever proof or algorithm. What's changed is the speed at which that proof or algorithm can now be searched for. AI models are solving problems that resisted human mathematicians for years in a matter of hours or days, which compresses the window enterprises have to detect a cryptographic break and respond before it's exploited.

This is independent of quantum hardware progress, though that progress is also moving faster than expected. A Google Quantum AI researcher showed in 2025 that RSA-2048 could theoretically be broken in under a week using fewer than one million noisy qubits, a 95% reduction from his own 2019 estimate of 20 million qubits. Algorithmic improvement alone, without AI in the loop, was already shrinking the margin. AI-accelerated cryptanalysis is a second, faster-moving front on the same problem.

Figure 2
Estimated Qubits Needed to Break RSA-2048
qubits required to break RSA-2048 (qubits)
20,000,0002019 estimate1,000,0002025 estimate
Estimate year
2025 figure reflects Google Quantum AI's 'fewer than one million' estimate, a 95% reduction from the 2019 figure.
Illustrative figure. Constructed for explanation, not a measured source.

Harvest now, decrypt later: was the clock already running?

Even before the Mathocalypse, enterprises were behind schedule on cryptographic modernization. NIST finalized its first post-quantum cryptography standards (FIPS 203, 204, and 205) in August 2024. As of a May 2025 survey of more than 1,000 senior cybersecurity managers, only 5% of enterprises had quantum-safe encryption actually deployed, and 81% said their cryptographic libraries and hardware security modules weren't ready for PQC integration.

Figure 3
Enterprise Readiness Gap for Post-Quantum Cryptography
5%
Enterprises with quantum-safe encryption deployed
81%
Say crypto libraries/HSMs aren't ready for PQC integration
$7.1B
Estimated U.S. federal PQC migration cost, 2025-2035
Illustrative figure. Constructed for explanation, not a measured source.

Meanwhile, the "harvest now, decrypt later" threat means adversaries don't need current cryptanalytic capability to compromise long-lived sensitive data. They can collect encrypted traffic today and decrypt it whenever the capability arrives, which means the effective security window for data already in transit or storage may already be closed. AI-accelerated math doesn't create this threat. It shortens the fuse on it. The federal government alone estimates its own PQC migration will cost roughly $7.1 billion between 2025 and 2035, which tells you how large and slow this transition already was before anyone had to move faster than planned.

Why Can't You Patch, Audit, or Migrate What You Don't Control?

If your sensitive data lives inside a SaaS platform, you are not the one who decides when, how, or whether cryptography gets upgraded. The vendor controls the runtime environment, the update cadence, subprocessor relationships, encryption key management, and audit-log architecture. Your access to all of that is contractual, not technical. You can ask your vendor for a PQC roadmap. You cannot inspect their crypto inventory, verify their timeline, or force a re-encryption if your risk calculus changes. It's the same gap exposed by bricked smart hardware and vanished Git tags: if you don't control the software layer, you don't really own what runs on top of it.

Regulatory frameworks are starting to catch up to this gap. DORA, updated HIPAA enforcement, and FedRAMP increasingly require technical, not merely contractual, proof of data residency, encryption key control, and subprocessor transparency. A black-box SaaS vendor is structurally unable to hand a customer that kind of evidence, because the customer never had the access to generate it themselves. If a vendor's cryptography turns out to be behind the curve when the next Mathocalypse-style headline hits, their customers find out the same way everyone else does: after the fact.

Figure 4
Breach Cost: Third-Party Compromise vs. Global Average
Global average breach$4,990,000Third-party/supply-chain breach$4,910,000
Compiled from IBM/Ponemon Cost of a Data Breach research cited in the article.
Illustrative figure. Constructed for explanation, not a measured source.

Are third-party breaches already the fastest-growing enterprise risk?

This isn't a hypothetical. Vendor dependency is already the dominant and fastest-growing breach vector, independent of any AI math story. Third-party involvement in confirmed data breaches has climbed sharply across Verizon's last three annual reports:

  • 2024 DBIR: 15% of breaches involved a third party.
  • 2025 DBIR: 30%, described at the time as a doubling of exposure.
  • 2026 DBIR: 48%, a 220% relative increase in two years.

These breaches are also the costliest and slowest to resolve. IBM's research puts the average cost of a third-party vendor or supply-chain compromise at $4.91 million, against a $4.99 million global average for all breach types, with a mean lifecycle of 267 days: 196 days to identify and 71 to contain. That's longer than almost any other attack category, because the victim organization is diagnosing a system it doesn't control.

Figure 5
Mean Lifecycle of a Third-Party Breach (267 Days)
73%Days to identify
Days to identify73%
Days to contain27%
Illustrative figure. Constructed for explanation, not a measured source.

The August 2025 Salesloft Drift incident is the concrete case study. Attackers used compromised OAuth tokens from a third-party SaaS integration to systematically exfiltrate AWS keys, Snowflake credentials, and customer records from numerous corporate Salesforce instances. None of the affected customers had visibility into, or control over, the integration's security before it cascaded through their environments. A single opaque vendor dependency took down trust across hundreds of organizations at once. That's the same reliability math driving the shift toward owning AI infrastructure instead of renting it: rented endpoints go down, owned infrastructure doesn't, and the pattern will repeat when a vendor's cryptography, not its OAuth tokens, turns out to be the weak point.

What Does Crypto-Agility Actually Buy You?

Enterprises that own and architect their own infrastructure can do something SaaS customers structurally cannot: move on their own schedule. That means:

  1. Cryptographic inventory. You can actually enumerate which algorithms protect which systems and data, instead of waiting for a vendor's security page to tell you.
  2. Independent PQC adoption. You can roll out NIST's ML-KEM and ML-DSA standards and hybrid schemes as soon as your risk tolerance demands it, not when a vendor's product roadmap gets around to it.
  3. Proactive re-encryption. You can re-encrypt sensitive data the moment a hardness assumption looks shaky, rather than filing a support ticket and waiting.
  4. Technical proof for regulators. You can produce the kind of key-control and residency evidence that DORA and FedRAMP increasingly expect, because you hold the keys.

This is the same logic pushing enterprises to treat software stacks as security strategy rather than convenience purchases: the less of your stack you control, the less of your own risk timeline you actually get to set. It's also why more teams are building their own agents and automation layers instead of renting a black box they can't inspect. Platforms like Remy exist precisely for organizations that want their critical workflows running on infrastructure they can audit and change, not infrastructure they have to trust blindly. The same reasoning applies to the AI compute underneath those workflows, where owning the hardware changes the economics of control as much as it changes the bill.

Figure 6
Who Controls the Crypto Clock: SaaS Vendor vs. Owned Infrastructure
Who Controls the Crypto Clock: SaaS Vendor vs. Owned Infrastructure
Crypto Inventory VisibilityPQC Timeline ControlRe-encryption ControlRegulator-Grade ProofVendor Dependency Risk
Black-box SaaS platformoperational convenience over controlLowLowLowNoHigh
RecommendedOwned infrastructureorganizations that must set their own risk timelineHighHighHighYesLow
Ratings are relative across these two options, not absolute scores, and reflect the control gap described in the article.
Illustrative figure. Constructed for explanation, not a measured source.

What should you do now?

The Mathocalypse may turn out to be overstated. Public-key cryptography may hold for years yet. But the sensible move isn't to bet your enterprise's data on which prediction is right. Before the next headline forces the issue:

  1. Classify data by confidentiality horizon. Know which data needs to stay secret for months versus which needs to stay secret for decades, since that determines how urgently it needs new cryptography.
  2. Demand PQC-readiness attestations from every vendor. Not a roadmap slide. A technical answer on current algorithms, migration timeline, and key-management architecture.
  3. Build crypto-agility into anything you own. Architect systems so swapping an algorithm is a configuration change, not a rebuild.
  4. Reduce the number of black boxes holding your sensitive data. Every SaaS dependency is a dependency on someone else's cryptographic judgment and someone else's clock.

The math behind encryption was always a bet. AI just made the odds move faster than anyone budgeted for. The only defensible position is to be the one holding the keys when they do.

Frequently Asked Questions

5 questions

What is the 'Mathocalypse' and how does it relate to encryption?

The 'Mathocalypse' refers to OpenAI's October 2026 release of 372 AI-generated results on long-standing open math problems in a single day. Cryptographers worry the same AI techniques could soon crack the unproven hardness assumptions behind RSA, ECC, and lattice-based encryption, compressing timelines that used to be measured in decades down to years.

Is AI actually a bigger near-term threat to encryption than quantum computing?

Possibly, and the two risks are separate. Quantum computing threats depend on hardware progress that is itself accelerating, with one 2025 estimate showing RSA-2048 could theoretically fall in under a week using far fewer qubits than previously thought. AI-driven cryptanalysis is a parallel, software-only threat that does not require new hardware at all, which is why cryptographers like Matthew Green are raising alarms about both fronts at once.

Why does owning infrastructure matter more than vendor security promises?

Because in a SaaS relationship, the vendor controls the runtime, update cadence, key management, and audit logs, and the customer's access to that infrastructure is contractual, not technical. If a vendor's cryptography needs urgent remediation, the customer cannot verify progress or accelerate it themselves. Owning the stack means an enterprise can inventory its own cryptography and re-encrypt data on its own schedule.

How exposed are enterprises to post-quantum migration risk today?

Very exposed. As of a May 2025 survey, only about 5% of enterprises had quantum-safe encryption actually deployed, and 81% said their cryptographic libraries and hardware security modules were not ready for post-quantum integration, even though NIST finalized its PQC standards in August 2024.

What should a company do right now about AI-accelerated encryption risk?

Start by classifying data according to how long it needs to stay confidential, demand technical (not just contractual) PQC-readiness evidence from vendors, build crypto-agility into any infrastructure you control, and reduce reliance on black-box SaaS platforms holding your most sensitive data.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.