Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach RSA key-parsing endpoint
-
DeliverySubmit malformed DER/PEM public key
-
ExploitBoringSSL decode fails
-
ExecutionEVP_PKEY double-freed in catch and deinit
-
PersistAllocator corruption crashes process
-
ImpactService denial
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | Exploitation requires the target application to construct an RSA public key from attacker-supplied DER or PEM bytes using swift-crypto before version 4.5.1, and the supplied bytes must be malformed such that BoringSSL fails to decode them - that decode failure is the exact trigger that reaches the double-free. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is needed once such an input path is exposed. The key limiting factor is reachability: the application must actually feed untrusted/external key bytes into the vulnerable RSA public-key initializer; deployments that only parse trusted, internally-generated keys are not practically exposed. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) rates this 7.5 with impact confined to availability - there is no confidentiality or integrity loss, consistent with a double-free crash rather than exploitable code execution. Network vector and no privileges/interaction mean any service that parses untrusted RSA public keys via swift-crypto can be crashed remotely, which is a realistic DoS for TLS/JWT/certificate-handling backends. No EPSS score, KEV listing, or POC was provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation; while double-frees can sometimes escalate to code execution, BoringSSL's hardened allocator and the availability-only scoring suggest a crash is the practical outcome. This is a moderate-priority patch: easy to trigger and network-reachable, but non-corrupting beyond availability. |
| Exploit ScenarioDerived | An attacker sends a crafted RSA public key with a malformed DER/PEM encoding to a network service (e.g., a JWT, TLS, or certificate-verification endpoint) that parses it with a pre-4.5.1 swift-crypto. BoringSSL fails to decode the key, the EVP_PKEY* is double-freed, and the process crashes on the next allocation, denying service to all clients. No public exploit code is known, and the low attack complexity (AC:L) means repeated malformed submissions reliably reproduce the crash. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Denial of service in Apple's swift-crypto (all versions before 4.5.1) allows remote attackers to crash a process by supplying malformed RSA public key bytes. When BoringSSL fails to decode a DER- or PEM-encoded RSA public key, the underlying EVP_PKEY* is freed twice - once in the error catch block and again during deinitialization - corrupting the allocator and causing a crash on subsequent memory allocations. No public exploit identified at time of analysis; the flaw is memory-safety corruption limited to availability impact (CVSS 7.5).
RemediationAI
Vendor-released patch: swift-crypto 4.5.1 - upgrade the Package.swift dependency pin to 4.5.1 or later and rebuild, as this is the version that fixes the double-free per the advisory. Review the guidance in Apple's GitHub Security Advisory GHSA-8q93-f6xh-4f6f (https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f). If you cannot upgrade immediately, the actionable compensating control is to validate or constrain RSA public-key input before it reaches swift-crypto - for example, reject or pre-parse untrusted DER/PEM at an application boundary so malformed encodings never hit the vulnerable initializer, or gate the affected endpoint behind authentication to reduce unauthenticated reachability; the trade-off is added parsing logic and the risk that your pre-validation does not catch exactly the malformed inputs BoringSSL rejects, so treat this as temporary until the library is updated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
swift-crypto is Apple's open-source Swift cryptography library that mirrors the CryptoKit API and is backed by BoringSSL for its low-level primitives. The bug is a classic CWE-415 double-free: the RSA public-key initializer wraps BoringSSL's EVP_PKEY structure, and when key decoding fails the pointer is released in the thrown-error handling path but the object's deinitializer also releases the same pointer. Freeing the same heap allocation twice corrupts BoringSSL/allocator metadata, so a later, unrelated allocation trips over the corrupted free list and aborts the process. The trigger is entirely input-driven: any code path that constructs an RSA public key from attacker-influenced DER or PEM bytes that BoringSSL cannot decode.
Know when Swift Crypto gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Malformed key bytes are network-supplied with low complexity and no auth or interaction, and a double-free crash affects only availability, so A:H with C:N/I:N.
Primary rating from Vendor (apple).
CVSS VectorVendor: apple
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
Swift-crypto before version 4.5.1 contains a denial-of-service vulnerability allowing remote attackers to crash applications processing RSA key operations. Organizations relying on swift-crypto for cryptographic services face availability risk and unexpected application termination without immediate remediation. Patching to version 4.5.1 is required to restore availability guarantees.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-48288
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB