Home / getkin / kin-openapi / CVE-2025-30153
CVE-2025-30153: is it exploited, and which versions of getkin kin-openapi are affected and fixed?
CVE-2025-30153 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in getkin kin-openapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: github.com/getkin/kin-openapi before 0.131.0 (GitHub advisory GHSA-wq9g-9vfc-cfq9). Fixed in 0.131.0 (GitHub advisory GHSA-wq9g-9vfc-cfq9). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-30153?
Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
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.
From the CVE record by GitHub_M, last updated March 19, 2025, 18:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getkin | kin-openapi | < 0.131.0 |
As the CVE record by GitHub_M states it, last updated March 19, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi | < 0.131.0 | 0.131.0 | GHSA-wq9g-9vfc-cfq9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 15, 2025. Summary: Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter.
How severe is CVE-2025-30153?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-30153 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, March 19, 2025)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Where are the vendor advisories and references?
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9 x_refsource_CONFIRM
- https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1 x_refsource_MISC
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275 x_refsource_MISC
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523 x_refsource_MISC
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 17, 2025
- Published
- March 19, 2025, 16:03 UTC
- CVE record updated
- March 19, 2025, 18:25 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:08 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kin-openapi?
- Dec 2, 2026CVE-2026-142245 getkin kin-openapi: use of Non-Canonical URL Paths for Authorization Decisions
- Oct 15, 2026CVE-2026-100353 getkin kin-openapi: NULL pointer dereference (crash)
- Oct 15, 2026CVE-2026-100354 getkin kin-openapi: uncontrolled recursion
- Oct 15, 2026CVE-2026-100352 getkin kin-openapi: unusual condition not checked
- Oct 15, 2026CVE-2026-100351 getkin kin-openapi: authentication Bypass by Alternate Name
- Oct 15, 2026CVE-2026-100349 getkin kin-openapi: NULL pointer dereference (crash)
- Oct 15, 2026CVE-2026-100350 getkin kin-openapi: denial of service (uncontrolled resource consumption)
- Oct 15, 2026CVE-2026-100347 getkin kin-openapi: improper input validation
Questions about CVE-2025-30153
Is CVE-2025-30153 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of getkin kin-openapi are affected by CVE-2025-30153?
github.com/getkin/kin-openapi before 0.131.0, per the GitHub advisory GHSA-wq9g-9vfc-cfq9. The tables above give every range the sources list.
Which version fixes CVE-2025-30153?
0.131.0, per the GitHub advisory GHSA-wq9g-9vfc-cfq9. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-30153?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-30153?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.