cvedb.io
CVE-2022-2879
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2022-10-14T15:15:17.647 · Last modified 2026-06-17T04:42:45.443

Summary

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 products

golang — go

Does this affect you?

Add your gear to cvedb and we'll alert you only when golang ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.