PQC Security
opensslwolfsslbotancveaicbompatching

AI Is Finding Real Bugs in Cryptographic Libraries: OpenSSL, wolfSSL and Botan in 2026

The maths behind your encryption held up in 2026. The code did not. AI-assisted research found a critical certificate-forgery bug in wolfSSL, a high-severity flaw in OpenSSL and a certificate check bypass in Botan. Here are the CVEs, the fixed versions, and why you need to know which library versions you run.

Rohit Kumar5 min read

Most of the December 2026 headlines were about maths: whether AI broke RSA, or the new post-quantum standards. It didn't (see our explainer).

The more practical story of 2026 is quieter. AI-assisted research found real, exploitable bugs in the code that does cryptography. Strong maths does not help if the library skips a check.

The bugs, with fixed versions

All of these come from the vendors' own security advisories.

wolfSSL: CVE-2026-5194 (critical)

  • What it is: wolfSSL's advisory says "Missing hash/digest size and OID checks allow digests smaller than allowed by FIPS 186-4 or 186-5." It affects signature checks for ECDSA, DSA, ML-DSA, Ed25519 and Ed448.
  • Impact: Anthropic says its Claude Mythos Preview model "constructed an exploit" that would let an attacker forge certificates.
  • Fixed in: wolfSSL 5.9.1. wolfSSL lists the time to fix as one day.
  • Credit: Nicholas Carlini of Anthropic.
  • Where you find wolfSSL: routers, IoT devices, embedded systems and industrial equipment. Anthropic describes it as "used by billions of devices worldwide". It often ships inside device firmware, where you can't see it.

Note that ML-DSA, one of the new post-quantum standards, is on the affected list. Moving to post-quantum algorithms does not protect you from implementation bugs.

OpenSSL: CVE-2026-45447 (high) and seven more

OpenSSL's 9 June 2026 advisory fixed a group of issues found with AI help:

  • CVE-2026-45447, high severity: a heap use-after-free in PKCS7_verify(), the function that checks PKCS#7 signed data. Reported by Thai Duong (Calif.io, "in collaboration with Claude and Anthropic Research") on 27 April 2026.
    • Affected: OpenSSL 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1 and 1.0.2.
    • Fixed in: 4.0.1, 3.6.3, 3.5.7, 3.4.6 and 3.0.21. Fixes for 1.1.1 and 1.0.2 are only for premium support customers.
  • Seven more issues credited to Alex Gaynor of Anthropic, two moderate and five low severity. They include:
    • CVE-2026-45445: the AES-OCB IV was ignored on one code path (moderate)
    • CVE-2026-34182: an issue in CMS AuthEnvelopedData (moderate)
    • CVE-2026-42768: a Bleichenbacher-style padding oracle with multiple recipients (low)
    • CVE-2026-42770: missing peer key validation in finite-field Diffie-Hellman (low)

If you still run OpenSSL 1.1.1 or 1.0.2 without a support contract, you did not get this fix. Those versions are end of life.

Botan: CVE-2026-34580

  • What it is: a "Certificate verification bypass due to trust anchor confusion", per Botan's security page.
  • Affected: introduced in Botan 3.11.0. Fixed in 3.11.1. Dated 31 March 2026.
  • Credit: "Nicholas Carlini with Claude, Anthropic."

Botan's page also lists two November 2026 entries credited to Anthropic's open-source scanner (CVE-2026-118770 and CVE-2026-118771). No fixed version was listed when we checked.

How big is this?

In May, Anthropic reported that it and about 50 partner organisations had used Claude Mythos Preview to find "more than ten thousand high- or critical-severity vulnerabilities" across important software. In open-source projects alone it had disclosed 530 high or critical bugs to maintainers by then, and only 75 had been patched.

Two things follow from that:

  1. Bugs are being found faster than they are being fixed. Many disclosed issues are waiting for patches, and more are coming.
  2. Attackers can use AI too. Capable models are widely available. Assume that anyone looking for flaws in widely used crypto code can now look much faster than a year ago.

Why this is an inventory problem

When an OpenSSL or wolfSSL advisory comes out, the first question is always "where do we run this, and which version?" Most organisations struggle to answer it, because cryptographic libraries hide in many places:

  • Bundled inside applications. Many programs ship their own copy of OpenSSL instead of using the system one.
  • Inside container images, frozen at whatever version was current when the image was built.
  • Inside device firmware, such as routers, cameras, building systems and payment terminals, where wolfSSL is common.
  • Statically linked into binaries, where package managers can't see them.
  • On end-of-life branches like OpenSSL 1.1.1, which no longer get public fixes.

A software bill of materials (SBOM) lists the libraries. A cryptographic bill of materials (CBOM) goes further: it records which algorithms, key sizes, certificates and protocols each component actually uses. With a CBOM, a new advisory becomes a search query instead of a project.

The same inventory serves the post-quantum migration. The list that tells you where you run a vulnerable OpenSSL build also tells you where you still use RSA and elliptic curves.

What to do

  1. Patch now: OpenSSL to 4.0.1, 3.6.3, 3.5.7, 3.4.6 or 3.0.21 or later; wolfSSL to 5.9.1 or later; Botan to 3.11.1 or later.
  2. Find the hidden copies. Scan container images, vendored dependencies and statically linked binaries, not just the operating system packages.
  3. Ask device vendors whether their firmware includes wolfSSL or OpenSSL, which versions, and when fixed firmware ships.
  4. Plan for more. Shorten your patch cycle for cryptographic libraries. With AI-assisted bug finding, advisories will keep coming more often.
  5. Build the inventory once and reuse it for patching, regulatory reporting and the post-quantum move. Our practical guide covers the order to do things in.

Sources: wolfSSL security vulnerabilities page; OpenSSL security advisory, 9 June 2026; Botan security advisories; Anthropic, Project Glasswing: an initial update, 22 May 2026; Anthropic, Discovering cryptographic weaknesses, 28 July 2026. We could not confirm the affected version range for wolfSSL CVE-2026-5194 from the vendor page.

Frequently asked questions

Which cryptographic library bugs were found with AI in 2026?
Examples with vendor advisories: wolfSSL CVE-2026-5194 (critical, fixed in 5.9.1), found by Anthropic's Claude Mythos Preview; OpenSSL CVE-2026-45447 (high, fixed in 4.0.1, 3.6.3, 3.5.7, 3.4.6 and 3.0.21), reported by Thai Duong of Calif.io with Claude and Anthropic Research; and Botan CVE-2026-34580 (certificate verification bypass, fixed in 3.11.1), credited to Nicholas Carlini with Claude. OpenSSL's 9 June 2026 advisory also credits Anthropic's Alex Gaynor for seven more issues.
What does the wolfSSL CVE-2026-5194 bug do?
wolfSSL's advisory says missing hash and OID size checks allowed digests smaller than FIPS 186-4 or 186-5 permit, affecting ECDSA, DSA, ML-DSA, Ed25519 and Ed448 signature checks. Anthropic says its model built an exploit that would let an attacker forge certificates. It is fixed in wolfSSL 5.9.1.
Is a bug in a crypto library the same as broken cryptography?
No. The algorithm can be sound while the code that runs it is wrong. In 2026 the practical problems came from code: missing checks, memory errors and wrong edge cases. That is why knowing exactly which library and version you run matters as much as knowing which algorithm you use.
How do I find out which crypto library versions I run?
You need an inventory of the cryptography in your software and infrastructure, including libraries bundled inside applications, containers and devices. A software bill of materials (SBOM) lists the libraries; a cryptographic bill of materials (CBOM) adds which algorithms, keys and certificates each one uses.

Related reading