# CVE-2024-24789: Mishandling of corrupt central directory record in archive/zip

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- 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): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-06-04T22:48:55.000Z
- Modified: 2026-09-10T16:00:34.865Z
- Also known as: GO-2024-2888, BIT-GOLANG-2024-24789
- Related: CGA-8g77-8qx6-mv63
- Weaknesses: CWE-390
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Go

## Description

The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.

(As written by CVE List.)

## Affected

- archive/zip: before 1.21.11; from 1.22.0-0 before 1.22.4
- golang go: before 1.21.11; from 1.22.0 before 1.22.4
- stdlib (Go): before 1.21.11; from 1.22.0-0 before 1.22.4
- golang (Bitnami): before 1.21.11; from 1.22.0-0 before 1.22.4

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/cl/585397> (fix, patch)
- <https://go.dev/issue/66869> (fix, issue-tracking, patch, report)
- <https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ> (article, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2024-2888> (advisory, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/06/04/1> (discussion, mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5YAEIA6IUHUNGJ7AIXXPQT6D2GYENX7/> (web)
- <https://security.netapp.com/advisory/ntap-20250131-0008/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24789> (web)

## Sources

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

---

Page: https://cve.day/CVE-2024-24789 · Whole record: https://cve.day/CVE-2024-24789.json · Rebuilt by cve.day 2026-11-25T22:58:41.450Z
