# CVE-2021-27919: Panic when opening archives in archive/zip

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-03-11T00:00:13.000Z
- Modified: 2026-09-08T08:47:46.694Z
- Also known as: GO-2021-0067, BIT-GOLANG-2021-27919
- Assigned by: mitre

## Description

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stdlib (Go): from 1.16.0-0 before 1.16.1
- golang go: from 1.16.0 before 1.16.1
- fedoraproject fedora: 34; 35
- golang (Bitnami): from 1.16.0 before 1.16.1

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw> (advisory, mailing-list, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MU47VKTNXX33ZDLTI2ORRUY3KLJKU6G/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HM7U5JNS5WU66Q3S26PFIU2ITB2ATTQ4/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://go.dev/cl/300489> (fix)
- <https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8> (fix)
- <https://go.dev/issue/44916> (report)
- <https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27919> (web)

## Sources

- CVE List: [CVE-2021-27919](https://www.cve.org/CVERecord?id=CVE-2021-27919), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2021-0067](https://pkg.go.dev/vuln/GO-2021-0067), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2021-27919](https://nvd.nist.gov/vuln/detail/CVE-2021-27919), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2021-27919](https://osv.dev/vulnerability/BIT-GOLANG-2021-27919), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-27919 · Whole record: https://cve.day/CVE-2021-27919.json · Rebuilt by cve.day 2026-11-25T22:58:00.233Z
