CVE-2026-43823
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-23
- Last modified
- 2026-10-24
- Assigned by
- product-security@apple.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
0.3 %
higher than 17 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Swift-crypto | ≥ 3.2.0, ≤ 4.5.1 | Affected |
Weakness type
-
CWE-415: Double Free
The product calls free() twice on the same memory address.
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
Related at Berigo
Articles
-
Older iPhones got 122 security flaws fixed in a single update
Same product
2026-08-18
Apple shipped four security updates on 17 August 2026. The update for the older system line covers only four hardware models, and fixes 122 unique CV…
-
Attackers are logging in to Macs without a password through Screen Sharing
Same product
2026-08-15
Apple shipped an emergency fix for macOS Screen Sharing after a flaw that lets an attacker on the network log in without valid credentials. The Dutch…
-
CrashStealer poses as Apple crash reporting and empties the Keychain on Mac
Same product
2026-08-05
Kaspersky has described CrashStealer, a macOS information stealer delivered through a fake videoconferencing installer. The installer is both signed …
-
PamStealer poses as an ordinary Mac utility
Same product
2026-07-02
Jamf Threat Labs describes PamStealer, a macOS infostealer posing as the Maccy clipboard tool that tricks users into giving up their password.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.