# CVE-2021-37137: SnappyFrameDecoder doesn't restrict chunk length any may buffer skippable chunks in an unnecessary way

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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): 5.95%, higher than 93% of CVEs (2026-12-01)
- Published: 2021-09-09T17:11:31.000Z
- Modified: 2026-10-08T22:17:10.853Z
- Also known as: GHSA-9vjp-v76f-g363
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: JFROG

## Description

The Snappy frame decoder function doesn't restrict the chunk length which may lead to excessive memory usage. Beside this it also may buffer reserved skippable chunks until the whole chunk was received which may lead to excessive memory usage as well. This vulnerability can be triggered by supplying malicious input that decompresses to a very big size (via a network stream or a file) or by sending a huge skippable chunk.

(As written by CVE List.)

## Affected

- The Netty project Netty: from unspecified before 4.1.68Final
- io.netty:netty-codec (Maven): from 4.0.0 before 4.1.68.Final
- org.jboss.netty:netty (Maven): all versions
- io.netty:netty (Maven): all versions
- netty netty: before 4.1.68
- oracle banking_apis: from 18.1 up to 18.3; 19.1; 19.2; 20.1; 21.1
- oracle banking_digital_experience: 18.1; 18.2; 18.3; 19.1; 19.2; 20.1; 21.1
- oracle commerce_guided_search: 11.3.2
- oracle communications_brm_-_elastic_charging_engine: before 12.0.0.4.6; 12.0.0.5.0
- oracle communications_cloud_native_core_binding_support_function: 1.10.0
- oracle communications_diameter_signaling_router: from 8.0.0.0 up to 8.5.0.2
- oracle peoplesoft_enterprise_peopletools: 8.57; 8.58; 8.59
- oracle webcenter_portal: 12.2.1.3.0; 12.2.1.4.0
- quarkus quarkus: before 2.2.4
- netapp oncommand_insight: no versions given
- debian debian_linux: 10.0; 11.0

## Every score

- 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-9vjp-v76f-g363> (third-party-advisory, web)
- <https://lists.apache.org/thread.html/rfb2bf8597e53364ccab212fbcbb2a4e9f0a9e1429b1dc08023c6868e%40%3Cdev.tinkerpop.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r75490c61c2cb7b6ae2c81238fd52ae13636c60435abcd732d41531a0%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r5406eaf3b07577d233b9f07cfc8f26e28369e6bab5edfcab41f28abb%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r5e05eba32476c580412f9fbdfc9b8782d5b40558018ac4ac07192a04%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r06a145c9bd41a7344da242cef07977b24abe3349161ede948e30913d%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rd262f59b1586a108e320e5c966feeafbb1b8cdc96965debc7cc10b16%40%3Ccommits.druid.apache.org%3E> (mailing-list)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220210-0012/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2023/dsa-5316> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37137> (advisory)
- <https://github.com/netty/netty/commit/6da4956b31023ae967451e1d94ff51a746a9194f> (web)
- <https://security.netapp.com/advisory/ntap-20220210-0012> (web)
- <https://lists.apache.org/thread.html/rfb2bf8597e53364ccab212fbcbb2a4e9f0a9e1429b1dc08023c6868e@%3Cdev.tinkerpop.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rd262f59b1586a108e320e5c966feeafbb1b8cdc96965debc7cc10b16@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r75490c61c2cb7b6ae2c81238fd52ae13636c60435abcd732d41531a0@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r5e05eba32476c580412f9fbdfc9b8782d5b40558018ac4ac07192a04@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r5406eaf3b07577d233b9f07cfc8f26e28369e6bab5edfcab41f28abb@%3Ccommits.druid.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r06a145c9bd41a7344da242cef07977b24abe3349161ede948e30913d@%3Ccommits.druid.apache.org%3E> (web)
- <https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L79> (web)
- <https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L185> (web)
- <https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/compression/SnappyFrameDecoder.java#L171> (web)
- <https://github.com/netty/netty> (package)

## Sources

- CVE List: [CVE-2021-37137](https://www.cve.org/CVERecord?id=CVE-2021-37137), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-9vjp-v76f-g363](https://github.com/advisories/GHSA-9vjp-v76f-g363), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-37137](https://nvd.nist.gov/vuln/detail/CVE-2021-37137), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-37137 · Whole record: https://cve.day/CVE-2021-37137.json · Rebuilt by cve.day 2026-11-25T22:58:04.563Z
