← Database

CVE-2022-2879

HIGH CVSS: 7.5 Published: 2022-10-14 Modified: 2026-06-17

Description

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.

Affected Platforms

Golang Go

Weakness Type

CWE-770

References