7.5high
When initializing an RSA public key from DER or PEM bytes throws an error, the EVPPKEY is double-freed: first in the catch block, then in t…
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.43% (higher than 29% of CVEs)
- Published
- Last changed
- Assigned by
- apple
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apple swift-crypto | before 4.5.1, from 3.2.0 up to 4.5.1 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (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.
References
| https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43823 changed 2026-07-23 | CVE Terms of Use |
| NVD | CVE-2026-43823 changed 2026-10-24 | Public domain |