Skip to content
7.7 High

CVE-2026-43820 NIOSSLCertificate._subjectAlternativeNames provides access to the raw bytes for a cert's SANs

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.

Affected products and versions

Product Affected versions Fixed in
swift-nio-ssl 2.37 earliest → < 2.37.2 2.37.2

References

Timeline

  1. Published
  2. Last modified
Track this CVE