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-415Affectedswift-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