7.5High

CVE-2026-43823

Apple swift-crypto Published: (3 months ago)

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.

Weakness (CWE): CWE-415

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Apple swift-crypto < 4.5.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:* ≥ 3.2.0 ≤ 4.5.1