CVE-2026-43823 Details
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.
A double-free vulnerability has been identified in Apple Swift Crypto versions 3.2.0 through 4.5.0, when initializing an RSA public key from DER or PEM bytes. The issue arises if BoringSSL fails to decode the public key, leading to the `EVP_PKEY*` being freed twice: once in the catch block and again during deinitialization. This double-free can cause a crash in future memory allocations. The vulnerability affects applications that parse untrusted RSA keys using the `_RSA.Encryption.PublicKey`, `_RSA.Signing.PublicKey`, or `_RSA.BlindSigning.PublicKey` APIs.
Users can upgrade to Swift Crypto version 4.5.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f | CISA-ADP | Vendor Advisory |
| https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| apple swift-crypto | >= 3.2.0, <= 4.5.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | Initial Analysis | [email protected] |
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2026 | New CVE Received | [email protected] |