CVEvulnerability

CVE-2026-43823

7.5 HIGH Published 2026-07-23 Modified 2026-10-24 Official page ↗
Status
Analyzed
Published
2026-07-23
Last modified
2026-10-24
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-415

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.

Affected configurations

• apple swift-crypto (>= 3.2.0 <= 4.5.1)

Related

Weakness · CWE (1)

References