Double Free in Apple Swift-Crypto
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. 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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.004 (36.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 36th percentile — 36.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Apple Swift-Crypto — versions 0
Weakness classification (CWE)
References
- github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-43823?
- CVE-2026-43823 is a high-severity vulnerability in Apple Swift-Crypto, classified under Double Free. CVSS score: 7.5/10. Published 2026-07-23.
- How severe is CVE-2026-43823?
- High severity. CVSS v3 base score is 7.5 out of 10.