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

- Severity: High 7.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-23T14:33:20.551Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: apple

## 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.

(As written by CVE List.)

## Affected

- Apple swift-nio-ssl: before 2.37.2
- apple swiftnio_ssl: from 2.18.0 before 2.37.2

## References

- <https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-43820](https://www.cve.org/CVERecord?id=CVE-2026-43820), CVE Terms of Use, modified 2026-07-24
- NVD: [CVE-2026-43820](https://nvd.nist.gov/vuln/detail/CVE-2026-43820), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-43820 · Whole record: https://cve.day/CVE-2026-43820.json · Rebuilt by cve.day 2026-11-25T22:59:29.932Z
