CVE-2026-43823CWE-415

CVE-2026-43823

High · published July 23, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
36.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00428 · 36.0th percentile
Weakness
CWE-415 · Double Free
Published
2026-07-23T19:17Z
Affected products (1)
ProductVersionsFixed in
apple/swift-crypto≥ 3.2.0, ≤ 4.5.1—
References (2)
EPSS history
Timeline
  • 23 JUL 14:33Z
    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
    cvelistv5