Skip to content

CVE-2026-43820 swift-nio-ssl: swift-nio-ssl: Out-of-bounds memory access due to improper handling of Subject Alternative Names

HighCVSS 7.7 EPSS 0.11%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
apple swift-nio-ssl < 2.37.2 2.37.2 Fixed
apple swiftnio ssl >= 2.18.0, < 2.37.2 2.37.2 Fixed

Affected products

ProductAffected versionsFixed in
apple swift-nio-ssl < 2.37.2 2.37.2
apple swiftnio ssl >= 2.18.0, < 2.37.2 2.37.2

References