Descrição
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.
CVSS 7.5EPSS 0.256%Risco 0.77
Ver fonte- Publicação
- 2026-07-23 15:17:05
- Versões afetadas
- <4.5.1
- Tipo
- Biblioteca
- Última alteração
- 2026-07-23 19:16:54
- Vetor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H