Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
https://security.gentoo.org/glsa/202311-09
https://pkg.go.dev/vuln/GO-2022-1037
Published: 2022-10-14
Updated: 2026-06-17
Named Vulnerability: GO-2022-1037Named Vulnerability: GHSA-fqpx-62jv-7r6r
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
EPSS: 0.01667