p PatchFirst

CVE-2026-40898

CVE-2026-40898 · quic-go: HTTP/3 QPACK Trailer Expansion Memory Exhaustion

CVSS 5.3 · Medium · EPSS 0.4%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-lucas-clemente-quic-go"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2026:50319 · Red Hat ansible automation platform 2.5 el8, Red Hat ansible automation platform 2.5 el9, Red Hat ansible automation platform developer 2.5 el8, Red Hat ansible automation platform developer 2.5 el9, Red Hat ansible automation platform inside 2.5 el8, Red Hat ansible automation platform inside 2.5 el9 ·
  • RHSA-2026:50336 · Red Hat ansible automation platform 2.6 el10, Red Hat ansible automation platform 2.6 el9, Red Hat ansible automation platform developer 2.6 el9, Red Hat ansible automation platform inside 2.6 el9 ·
  • RHSA-2026:50318 · Red Hat ansible automation platform 2.7 el10, Red Hat ansible automation platform 2.7 el9, Red Hat ansible automation platform inside 2.7 el9 ·
  • openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
  • RHSA-2026:40223 · Red Hat hummingbird 1 ·
  • RHSA-2026:15862 · Red Hat hummingbird 1 ·

Stack: system

Affected products and versions

  • quic-go

    Versions
    • < 0.59.1: Affected

    No fix published

  • golang-github-lucas-clemente-quic-go Debian 12

    Versions
    • 0.29.0-1
    • 0.29.2-1
    • 0.29.2-2
    • 0.29.2-3
    • 0.37.0-1
    • 0.37.4-1
    All versions (24)
    • 0.37.4-1~bpo12+1
    • 0.38.2-1
    • 0.38.2-2
    • 0.46.0-1
    • 0.46.0-2
    • 0.46.0-2~bpo12+1
    • 0.50.0-1
    • 0.50.1-1
    • 0.50.1-2
    • 0.54.0-1
    • 0.54.0-2
    • 0.54.0-3
    • 0.54.1-1
    • 0.55.0-1
    • 0.59.0-1
    • 0.59.0-2
    • 0.59.0-2~bpo13+1
    • 0.64.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Debian 13

    Versions
    • 0.50.1-2
    • 0.54.0-1
    • 0.54.0-2
    • 0.54.0-3
    • 0.54.1-1
    • 0.55.0-1
    All versions (10)
    • 0.59.0-1
    • 0.59.0-2
    • 0.59.0-2~bpo13+1
    • 0.64.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Debian 14

    Versions
    • 0.50.1-2
    • 0.54.0-1
    • 0.54.0-2
    • 0.54.0-3
    • 0.54.1-1
    • 0.55.0-1
    All versions (10)
    • 0.59.0-1
    • 0.59.0-2
    • 0.59.0-2~bpo13+1
    • 0.64.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Ubuntu 22.04 LTS

    Versions
    • 0.18.0-3
    • 0.24.0-1
    • 0.25.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Ubuntu 24.04 LTS

    Versions
    • 0.37.4-1
    • 0.38.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Ubuntu 25.10

    Versions
    • 0.50.0-1
    • 0.50.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Ubuntu 26.10

    Versions
    • 0.59.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-lucas-clemente-quic-go Ubuntu 26.04 LTS

    Versions
    • 0.50.1-2
    • 0.59.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →