Skip to main content
VulnerabilityPublished

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

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 4.5.1 soon.

Data as of 5 Dec 2026, 18:47 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Appleswift-cryptoAffected
  • <4.5.1
Fixed in
  • 4.5.1
SwiftURLapple/swift-cryptopkg:swift/apple/swift-cryptoOther threatsAffected
  • <4.5.1
Fixed in
  • 4.5.1

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.

References

Community reviews

Loading reviews…