Skip to main content

swift-nio-ssl EUVDEUVD-2026-48287

| CVE-2026-43820 HIGH
Out-of-bounds Read (CWE-125)
2026-07-23 apple
7.7
CVSS 3.1 · Vendor: apple
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local attacker crafts certificate with non-ASN1_STRING SAN
  2. Delivery
    Deliver certificate as part of TLS handshake
  3. Exploit
    Vulnerable library attempts to access raw SAN buffer
  4. Execution
    Out-of-bounds read triggered on invalid memory
  5. Impact
    Leak sensitive data or crash process.

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must use swift-nio-ssl (<2.37.2) and actively call the NIOSSLCertificate._subjectAlternativeNames property on a certificate containing a Subject Alternative Name that is not backed by ASN1_STRING (e.g., iPAddress, dirName). The attacker needs to supply the crafted certificate to a local TLS server or client process; no authentication is required per the CVSS metrics, but the attack vector is local, meaning the certificate must be delivered within the same trusted network segment or local machine context.

Impact

The CVSS 3.1 score of 7.7 is high, reflecting low attack complexity and no privileges required, but the local attack vector limits remote exploitation. EPSS prediction (0.09%, 1st percentile) suggests extremely low probability of real-world exploitation. SSVC analysis flags automatable as 'no' and technical impact as 'partial', further indicating that hands-on effort is needed and the impact is limited to the vulnerable component. Despite the availability of a POC (as noted by SSVC), the absence of active exploitation, low EPSS, and the ease of patching reduce the overall risk to low in environments with standard update practices. Only applications processing untrusted certificates locally are at practical risk.

Exploit ScenarioDerived

A local attacker crafts a TLS certificate containing an iPAddress SAN, then presents it during a TLS handshake with an application linked to a vulnerable swift-nio-ssl version. When the library accesses the raw SAN buffer via _subjectAlternativeNames, an out-of-bounds read occurs, potentially leaking sensitive memory contents (e.g., private keys) or crashing the service. As POC code is known to exist, the attack is reproducible by an unprivileged user on the same host.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 26, 2026

Out-of-bounds memory access in Apple swift-nio-ssl allows information disclosure and denial of service when parsing X.509 certificates with non-ASN1_STRING Subject Alternative Names. The vulnerability affects versions prior to 2.37.2 and can be triggered locally by a crafted certificate, leading to potential data leakage or process crash. Public proof-of-concept code exists, but no active exploitation has been reported at this time.

RemediationAI

Upgrade to swift-nio-ssl version 2.37.2 or later, as provided by Apple. If immediate patching is not possible, limit certificate processing to trusted Certificate Authorities and avoid inspecting raw SAN bytes from untrusted sources. As a temporary workaround, disable certificate SAN introspection in custom TLS handlers and rely on default chain validation, though this may weaken hostname verification. The latest release can be obtained via the Swift Package Manager referencing the fixed tag.

Affected VersionsENISA

swift-nio-ssl 0 <2.37.2

Affected Packages

euvd swift_nio_ssl fix: 2.37.2

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-nio-ssl is a Swift TLS library built on NIOSSL for secure networking. The flaw lies in NIOSSLCertificate._subjectAlternativeNames, which exposes raw byte buffers for certificate SAN extensions. The code assumes all SANs are backed by ASN1_STRING (OpenSSL's string type), but some SAN types (e.g., iPAddress, dirName) use different backing storage. Accessing the buffer of a non-ASN1_STRING SAN results in an out-of-bounds read (CWE-125), potentially exposing adjacent memory or causing a segmentation fault. CPE data confirms the vulnerable component is apple:swift-nio-ssl, and the issue arises during TLS handshake when certificate SANs are inspected.

Know when Swift Nio Ssl 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

Vendor (apple) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 7.7 HIGH

Local attack vector as certificate must be presented locally; no privileges needed; high impact on confidentiality and availability.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 8.2 HIGH

Primary rating from Vendor (apple).

CVSS VectorVendor: apple

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 24, 2026 - 21:22 NVD
7.7 (HIGH)
Patch available
Jul 23, 2026 - 16:03 EUVD
CVE Published
Jul 23, 2026 - 14:33 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 23, 2026 - 14:33 cve.org
HIGH 7.7

DescriptionCVE.org

NIOSSLCertificate._subjectAlternativeNames provides access to the raw bytes for a cert's SANs. NIOSSL provides access to a buffer assumed to be backed by an ASN1_STRING, but not all SANs are backed by ASN1_STRING, so accessing the buffer for such a type can lead to out-of-bounds memory access. This vulnerability is addressed in swift-nio-ssl version 2.37.2.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
Swift server-side library, niche ecosystem compared to major TLS stacks
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy