AppleSwift-crypto
2 matches found
CVE-2026-43823
A double-free vulnerability exists in swift-crypto (specifically within the swiftlang package) when initializing an RSA public key from DER or PEM formatted bytes. If BoringSSL fails to decode the provided bytes, the EVP_PKEY* is freed twice—once in the catch block and again during deinitializati...
7.5CVSS5.9AI score0.00428EPSS
Save
CVE-2026-28815
CVE-2026-28815 concerns Swift Crypto’s X-Wing HPKE decapsulation path. The issue arises when an attacker-supplied encapsulatedKey is shorter than the required 1120 bytes; the implementation forwards the data to a C API without runtime length validation, enabling an out-of-bounds read in the decap...
7.5CVSS6AI score0.00532EPSS
Save