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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Al inicializar una clave pública RSA a partir de bytes DER o PEM y se produce un error, el EVP_PKEY se libera dos veces: primero en el bloque catch y luego en el deinit. Esto puede provocar un fallo en futuras asignaciones de memoria. Esta doble liberación se manifiesta cuando BoringSSL no puede decodificar la clave pública a partir de los bytes proporcionados. Esta vulnerabilidad se aborda en la versión 4.5.1 de swift-crypto.

04 Sep 2026, 18:17

Type Values Removed Values Added
CPE cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*
First Time Apple
Apple swift-crypto
References () https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f - () https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f - Vendor Advisory

23 Jul 2026, 19:16

Type Values Removed Values Added
References () https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f - () https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f -
CWE CWE-415
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

23 Jul 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-23 15:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-43823

Mitre link : CVE-2026-43823

CVE.ORG link : CVE-2026-43823


JSON object : View

Products Affected

apple

  • swift-crypto
CWE
CWE-415

Double Free