Vulnerability
CVE-2025-30153
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.
75 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2fj3-qhp9-vw22
- CGA-2hj9-8357-wcx6
- CGA-2j92-9qg8-92f5
- CGA-2mf6-8r5x-5jv6
- CGA-33cp-j6f6-fmjq
- CGA-3jwg-5w8r-7ggr
- CGA-3x4w-6q93-p357
- CGA-42wg-qxcq-64f4
- CGA-4fv8-84x5-p4j9
- CGA-4vv3-r668-6vg2
- CGA-584h-r26g-fjgw
- CGA-5h5w-xgqc-jp5w
- CGA-5hx6-8j57-jmh4
- CGA-5ppm-xhgw-w7m7
- CGA-623h-8pm5-6x88
- CGA-6583-q8cq-f9q9
- CGA-67fc-2j7w-qrwp
- CGA-6x83-fh69-ww64
- CGA-82hm-8jq9-gf7h
- CGA-859r-7p78-m5fp
- CGA-85r6-p66c-gv2c
- CGA-8728-c649-hxq8
- CGA-8v76-c464-4rvx
- CGA-95m9-jqrm-7468
- CGA-9c9v-pcx5-9f4f
- CGA-9fwh-6338-h8f5
- CGA-9v56-hxfr-65hr
- CGA-c6gq-7x33-j8f8
- CGA-cc85-9jhv-jvw8
- CGA-cfcm-x839-3p97
- CGA-cr93-fvv7-j3r6
- CGA-cv62-j2r8-mhwj
- CGA-f46j-pr6p-79x3
- CGA-fm54-jwfv-g6fw
- CGA-fmjc-4c9f-p56g
- CGA-fq9p-xw92-p2cw
- CGA-fvm6-69rc-frw6
- CGA-ghvr-72g5-gp84
- CGA-gv9w-9h72-m78w
- CGA-gww3-8qh9-2rch
- CGA-h6c4-2pj2-5fp2
- CGA-h72w-3m66-f448
- CGA-h9c2-2r82-mfrj
- CGA-hjhj-vh4j-qw4g
- CGA-hjxg-p6vg-5jc2
- CGA-j4c3-2w7x-2wr2
- CGA-j976-998v-c6pp
- CGA-jj5m-rp44-7q34
- CGA-jrp4-689r-px7v
- CGA-m27h-h49j-2784
- CGA-p354-w7pw-q94w
- CGA-p4xr-m722-3x8w
- CGA-pmj9-7j5j-rpcj
- CGA-pxv3-g43x-qpcg
- CGA-qh85-7536-764r
- CGA-qhhp-j9m9-6w6g
- CGA-qqf5-v7r8-3qvm
- CGA-qxxc-96hq-7jhq
- CGA-r6cm-43fw-c4g5
- CGA-rg5w-c8m7-ch4w
- CGA-vqhp-wj8p-6p74
- CGA-wm6m-v33c-5w62
- CGA-wq2c-rj4v-mgfp
- CGA-wwmc-prh4-2j6j
- CGA-xg34-hh3h-58xp
- CGA-xr2x-qvwc-p9pm
-
DEBIAN-CVE-2025-30153
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…
-
GHSA-wq9g-9vfc-cfq9
Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
-
GO-2025-3533
Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
-
SUSE-SU-2026:3718-1
Security update for grafana
-
UBUNTU-CVE-2025-30153
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…
-
openSUSE-SU-2025:14937-1
govulncheck-vulndb-0.0.20250327T184518-1.1 on GA media
-
openSUSE-SU-2026:10731-1
mcphost-0.34.0-1.1 on GA media
-
openSUSE-SU-2026:10922-1
grafana-11.6.14+security01-4.1 on GA media
-
openSUSE-SU-2026:20940-1
Security update for grafana
References
- 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/commit/67f0b233ffc01332f7d993f79490fbea5f4455f1
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-wq9g-9vfc-cfq9
- https://github.com/getkin/kin-openapi?tab=readme-ov-file#custom-content-type-for-body-of-http-requestresponse