CVE-2025-30153Improper Handling of Highly Compressed Data (Data Amplification) in…
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2025-30153 | |
| Ubuntu 24.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2025-30153 | |
| Ubuntu 22.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2025-30153 | |
| Debian 14 | golang-github-getkin-kin-openapi | Fixed | 0.135.0-1 | DEBIAN-CVE-2025-30153 |
| Debian 13 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2025-30153 | |
| Debian 12 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2025-30153 | |
| Red Hat Enterprise Linux 10 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 10 | osbuild-composer-worker | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-dnf-json | Not affected | ||
| Red Hat Enterprise Linux 9 | osbuild-composer-worker | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-core | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-dnf-json | Not affected | ||
| Red Hat Enterprise Linux 8 | osbuild-composer-worker | Not affected | ||
| Go library | github.com/getkin/kin-openapi | Fixed | 0.131.0 | GO-2025-3533 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- getkin kin-openapi: affected: < 0.131.0
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9
- https://github.com/getkin/kin-openapi/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1275
- https://github.com/getkin/kin-openapi/blob/6da871e0e170b7637eb568c265c08bc2b5d6e7a3/openapi3filter/req_resp_decoder.go#L1523
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.