CVE-2026-43823: Apple Swift-Crypto

High severity, CVSS 7.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Apple Swift-Crypto: from 3.2.0, up to and including 4.5.1

Published 2026-07-23. Last modified 2026-09-04.