Skip to content

crypto/tls: reject malformed ECH outer extension references #81855

Closed

Description

@thatnealpatel

Multiple ECH outer extension references are not
permitted under RFC 9849; previously, a client
could send a well-crafted packet that could
trigger memory exhaustion in the server process
by specifying multiple references.

We now reject these as malformed and curb the
memory amplification vector as a result.

This is CVE-2026-97031 and Go issue https://go.dev/issue/81855.


This was a PRIVATE track issue originally tracked in http://b/539665253.

Activity

  1. added this to the Go1.28 milestone on Sep 29, 2026
  2. thatnealpatel commented on Sep 30, 2026

    @thatnealpatel
    MemberAuthor

    @gopherbot Please open backports for this security issue.

  3. gopherbot commented on Sep 30, 2026

    @gopherbot
    Contributor

    Backport issue(s) opened: #81915 (for 1.26), #81916 (for 1.27).

    Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

  4. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847025 mentions this issue: [release-branch.go1.27] crypto/tls: validate ECH outer extension references

  5. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847105 mentions this issue: [release-branch.go1.26] crypto/tls: validate ECH outer extension references

  6. gopherbot commented on Oct 8, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/847312 mentions this issue: crypto/tls: validate ECH outer extension references

  7. changed the title [-]security: fix CVE-2026-97031[/-] [+]crypto/tls: reject malformed ECH outer extension references[/+] on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions