Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f
- https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f
FAQ
What is CVE-2026-43823?
CVE-2026-43823 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 alloca...
How severe is CVE-2026-43823?
CVE-2026-43823 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-43823?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.