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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j Vendor Advisory, Exploit
- https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j Vendor Advisory, Exploit
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.7 · appleNVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:apple:swiftnio_ssl:*:*:*:*:*:*:*:*
References 2
- https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j Vendor Advisory, Exploit
- https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j Vendor Advisory, Exploit