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
Published: 2026-07-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The QUIC transport parameters handler in s2n‑tls incorrectly allocates memory when processing a HelloRetryRequest, leaking the first allocation on the second call. This can lead to up to about 64 KB of unreclaimed memory per handshake, and the leaked memory accumulates over time on long‑running server processes. The vulnerability only affects TLS 1.3 QUIC traffic and does not impact non‑QUIC TLS connections. It therefore threatens the availability of QUIC‑enabled services by potentially exhausting available memory.

Affected Systems

Amazon s2n‑tls, server‑side only, with QUIC enabled. No specific version information is specified in the CNA data, but the vendor advisory recommends updating to at least version v1.7.6 to fix the issue.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity vulnerability, while the EPSS score of less than 1% implies low likelihood of active exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an unauthenticated network client that can deliberately send HelloRetryRequest messages to the server, amplifying the memory leak. An attacker could force many handshakes to cause the server to reach a memory capacity limit, leading to a denial of service. The documented exploit requires network access to the QUIC service and does not involve other prerequisites such as authentication or elevated privileges.

Generated by OpenCVE AI on July 30, 2026 at 16:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the s2n‑tls library to the vendor’s patched release v1.7.6 or later, as this resolves the incorrect memory allocation behavior.
  • If an upgrade cannot be performed immediately, schedule periodic restarts of the server process to ensure the leaked memory is reclaimed before exhaustion occurs.
  • Apply network rate limiting or traffic shaping on the QUIC endpoint to reduce the number of handshake attempts from unauthenticated clients, thereby limiting the rate at which the memory leak can grow.

Generated by OpenCVE AI on July 30, 2026 at 16:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
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
Title QUIC Transport Parameters Memory Leak During HelloRetryRequest in s2n-tls
First Time appeared Amazon
Amazon s2n-tls
Weaknesses CWE-401
CPEs cpe:2.3:a:amazon:s2n-tls:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon s2n-tls
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-22T19:41:13.270Z

Reserved: 2026-07-20T16:42:03.595Z

Link: CVE-2026-16318

cve-icon Vulnrichment

Updated: 2026-07-22T19:34:27.694Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:45:04Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime