SCA: security update for github.com/quic-go/quic-go (GHSA-vvgj-x9jq-8cj9)

high Tenable Cloud Security Plugin ID 442605

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-40898)

Solution

Update the github.com/quic-go/quic-go library and its related packages to version 0.59.1 or later.

See Also

https://github.com/advisories/GHSA-vvgj-x9jq-8cj9

Plugin Details

Severity: High

ID: 442605

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/4/2026

Updated: 6/8/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.74

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-40898

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/3/2026

Vulnerability Publication Date: 6/3/2026

Reference Information

CVE: CVE-2026-40898

cwe: CWE-770