CVEsAppleCVE-2026-43823Published Jul 23, 14:33 · Updated Jul 23, 18:12 UTC
7.5
HighCVSS 3.1 · from CISA
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.

swift-crypto · CWE-415 · CWE-415
Affectedswift-crypto
FixUpdate to 4.5.1 or newer
PublishedJul 23, 14:33 · apple
Scored7.5 · CISA
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:05 UTC

What we know

No known exploitation. CISA KEV, checked 22:05 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
A successful attack can take the service down. CVSS impact.

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.

From apple

Affected and fixed versions

ProductAffectedFixed inswift-cryptobefore 4.5.14.5.1

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f · github.com

Other CVEs in swift-crypto

All 1 →
–A remote attacker may be able to terminate a process that passes attacker-controlled input to the P-384 VOPRF API without bounding its length. · CVE-2026-86983Oct 28