CVE catalog

CVE-2026-40898

quic-go is an implementation of the QUIC protocol in Go. Prior to version 0.59.1, an attacker can cause excessive memory allocation in quic-go's HTTP/3 client and server implementations by sending a Q

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 25, 2026

quic-go is an implementation of the QUIC protocol in Go. Prior to version 0.59.1, an attacker can cause excessive memory allocation in quic-go's HTTP/3 client and server implementations by sending a QPACK-encoded HEADERS frame that decodes into a large trailer field section with many unique field names and/or large values. The implementation builds an `http.Header` for the corresponding `http.Request` or `http.Response`, while only enforcing limits on the size of the QPACK-compressed HEADERS frame, not on the decoded field section. This can lead to memory exhaustion. This is very similar to CVE-2025-64702. The difference is that this issue uses HTTP trailers, rather than HTTP headers, as the attack vector. A misbehaving or malicious peer can cause a denial-of-service (DoS) attack against quic-go's HTTP/3 servers or clients by triggering excessive memory allocation, potentially leading to crashes or resource exhaustion. This affects both servers and clients due to symmetric header construction. Version 0.59.1 enforces RFC 9114 decoded field section size limits for trailers as well. It incrementally decodes QPACK entries and checks the field section size after each entry, aborting the stream if an entry causes the limit to be exceeded.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-github-lucas-clemente-quic-gosid0.59.0-2vulnerable
Debiangolang-github-lucas-clemente-quic-goforky0.59.0-2vulnerable
Debiangolang-github-lucas-clemente-quic-gotrixie0.50.1-2vulnerable
Debiangolang-github-lucas-clemente-quic-gobookworm0.29.0-1vulnerable
Cpegolang-github-lucas-clemente-quic-goNot reportedNot reportedvulnerable
Cpequic-goNot reported0.59.1fixed
Gogithub.com/quic-go/quic-goNot reported0.59.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-lucas-clemente-quic-gosourcesid(unfixed)not yet assignedNot reported[1139169]
Debiangolang-github-lucas-clemente-quic-gosourceforky(unfixed)not yet assignedNot reported[1139169]
Debiangolang-github-lucas-clemente-quic-gosourcetrixie(unfixed)not yet assignedNot reported[1139169]
Debiangolang-github-lucas-clemente-quic-gosourcebookworm(unfixed)not yet assignedNot reported[1139169]
Cpequic-gocpeNot reported0.59.1Not reportedNot reportedNot reported
Gogithub.com/quic-go/quic-goGoNot reported0.59.1Not reportedNot reportedNot reported

[Debian bug #1139169]

Notes

[trixie] golang-github-lucas-clemente-quic-go: Minor issue [bookworm] golang-github-lucas-clemente-quic-go: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-lucas-clemente-quic-go]

    Details (4)
    • 0.29.0-1 · all · bookworm

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · bookworm; nvd · golang-github-lucas-clemente-quic-go · debian · 12

    • 0.29.0-1 · all · bookworm

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · bookworm; nvd · golang-github-lucas-clemente-quic-go · debian · 12

    • 0.46.0-2~bpo12+1 · all · bookworm-backports

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · bookworm; nvd · golang-github-lucas-clemente-quic-go · debian · 12

    • 0.46.0-2~bpo12+1 · all · bookworm-backports

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · bookworm; nvd · golang-github-lucas-clemente-quic-go · debian · 12

[Debian 13 (Trixie)]

  • Source package: [golang-github-lucas-clemente-quic-go]

    Details (4)
    • 0.50.1-2 · all · trixie

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · 13

    • 0.50.1-2 · all · trixie

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · 13

    • 0.59.0-2~bpo13+1 · all · trixie-backports

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · 13

    • 0.59.0-2~bpo13+1 · all · trixie-backports

      Affected

      nvd · golang-github-lucas-clemente-quic-go · debian · 13

Observed:

References