{"id":"CVE-2026-43823","details":"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.","aliases":["GHSA-8q93-f6xh-4f6f"],"modified":"2026-09-06T08:09:21.987451Z","published":"2026-07-23T15:17:05.613Z","references":[{"type":"ADVISORY","url":"https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apple/swift-crypto","events":[{"introduced":"cc76b894169a3c86b71bac10c78a4db6beb7a9ad"},{"last_affected":"47d3869a7291f085c1fb9fb1e6d3b97a793f45c6"}],"database_specific":{"cpe":"cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*","extracted_events":[{"introduced":"3.2.0"},{"last_affected":"4.5.1"}],"source":"CPE_RANGE"}}],"versions":["4.5.1","4.5.0","4.4.0","4.3.1","4.3.0","4.2.0","4.1.0","4.0.0","3.15.1","3.15.0","3.14.0","3.13.3","3.13.2","3.12.3","3.13.1","3.13.0","3.12.2","3.12.1","3.12.0","3.11.2","3.11.1","3.11.0","3.10.2","3.10.1","3.10.0","3.9.1","3.9.0","3.8.1","3.8.0","3.7.1","3.7.0","3.6.1","3.6.0","3.5.2","3.5.1","3.5.0","3.4.0","3.3.0","3.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43823.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}