CVE-2026-43823
published high CVSS 3.1 · 7.5swift-crypto: Denial of Service due to double-free during RSA public key initialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apple | — | swift-crypto0 to < 4.5.1 | Affected | Not stated | apple |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | swiftlangaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2073 |
| Amazon Linux | AL2023 | swiftlangsrc | Listed in advisory | Not stated | ALAS2023-2026-2073 |
| Amazon Linux | AL2023 | swiftlangx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2073 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apple | swift-crypto | 0 to < 4.5.1 (affected · custom) | apple · cna |
Weaknesses
2- 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.
- CWE-415 CWE-415 Double Free
References
1Provider assertions
2apple · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cbd2e947af20620a61c481fae47e39e37b967b903222dbd0241e1c9b158f9934
- Ingested
- 23 Sep 2026, 09:14:58 UTC
- Source record
- Official CVE record