UBUNTU-CVE-2026-40898

Source
https://ubuntu.com/security/CVE-2026-40898
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40898.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-40898
Upstream
  • CVE-2026-40898
Published
2026-06-04T19:16:00Z
Modified
2026-06-12T09:04:11.329636500Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

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

Package

Name
golang-github-lucas-clemente-quic-go
Purl
pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.18.0-3
0.24.0-1
0.25.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.25.0-1",
            "binary_name": "golang-github-lucas-clemente-quic-go-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40898.json"
Ubuntu:24.04:LTS
golang-github-lucas-clemente-quic-go

Package

Name
golang-github-lucas-clemente-quic-go
Purl
pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.37.4-1
0.38.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.38.2-1",
            "binary_name": "golang-github-lucas-clemente-quic-go-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40898.json"
Ubuntu:25.10
golang-github-lucas-clemente-quic-go

Package

Name
golang-github-lucas-clemente-quic-go
Purl
pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.50.0-1
0.50.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.50.1-2",
            "binary_name": "golang-github-lucas-clemente-quic-go-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40898.json"
Ubuntu:26.04:LTS
golang-github-lucas-clemente-quic-go

Package

Name
golang-github-lucas-clemente-quic-go
Purl
pkg:deb/ubuntu/golang-github-lucas-clemente-quic-go?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.50.1-2
0.59.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.59.0-2",
            "binary_name": "golang-github-lucas-clemente-quic-go-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40898.json"