CVE-2026-43823: Apple swift-crypto · When initializing an RSA public key from DER or PEM bytes throws an error, the EVP_PKEY* is
Affects Apple swift-cryptoSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 4.5.1 soon.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.5.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade swift-crypto and apple/swift-crypto to 4.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Appleswift-crypto | Affected
| Fixed in
|
SwiftURLapple/swift-cryptopkg:swift/apple/swift-cryptoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to swift-crypto version 4.5.1 or later, where this double-free issue has been addressed. No other mitigation steps are indicated or required.
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.