# CVE-2025-30153: Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.07%, higher than 64% of CVEs (2026-11-30)
- Published: 2025-03-19T16:03:26.947Z
- Modified: 2026-09-10T03:50:23.380Z
- Also known as: GHSA-wq9g-9vfc-cfq9, GO-2025-3533
- Related: CGA-2496-32ph-55j5
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

kin-openapi is a Go project for handling OpenAPI files. Prior to 0.131.0, when validating a request with a multipart/form-data schema, if the OpenAPI schema allows it, an attacker can upload a crafted ZIP file (e.g., a ZIP bomb), causing the server to consume all available system memory. The root cause comes from the ZipFileBodyDecoder, which is registered automatically by the module (contrary to what the documentation says). This vulnerability is fixed in 0.131.0.

(As written by CVE List.)

## Affected

- getkin kin-openapi: < 0.131.0
- github.com/getkin/kin-openapi (Go): before 0.131.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9> (advisory, web)
- <https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1> (fix, web)
- <https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275> (web)
- <https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523> (web)
- <https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30153> (advisory)
- <https://github.com/getkin/kin-openapi/pull/1059> (fix, web)
- <https://github.com/getkin/kin-openapi> (package)

## Sources

- CVE List: [CVE-2025-30153](https://www.cve.org/CVERecord?id=CVE-2025-30153), CVE Terms of Use, modified 2025-03-19
- GitHub Advisory Database: [GHSA-wq9g-9vfc-cfq9](https://github.com/advisories/GHSA-wq9g-9vfc-cfq9), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3533](https://pkg.go.dev/vuln/GO-2025-3533), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-30153](https://nvd.nist.gov/vuln/detail/CVE-2025-30153), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30153 · Whole record: https://cve.day/CVE-2025-30153.json · Rebuilt by cve.day 2026-11-25T22:58:55.357Z
