CVE-2026-43823 When initializing an RSA public key from DER or PEM bytes throws an error, the EVP_PKEY* is double-freed: first in the catch block, then in the deinit.

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-43823?

CVE-2026-43823 is a high-severity vulnerability in Apple swift-crypto, published on 23 Jul 2026.

Official description

When initializing an RSA public key from DER or PEM bytes throws an error, the EVP_PKEY* is double-freed: first in the catch block, then in the deinit. This can lead to a crash on future memory allocations. This double-free manifests when BoringSSL cannot decode the public key from the bytes provided. This vulnerability is addressed in swift-crypto version 4.5.1.

Weakness: CWE-415

Which versions are affected by CVE-2026-43823?

It affects 1 product.

Products include Apple Swift-Crypto.

How do I fix CVE-2026-43823?

Upgrade to a fixed version.

Is CVE-2026-43823 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-43823 exists.

Sources

Also known as GHSA-8q93-f6xh-4f6f.

Is CVE-2026-43823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free