CVE-2024-36124
MEDIUM 5.3CVSS 3.1iq80 Snappy out-of-bounds read when uncompressing data, leading to JVM crash
iq80 Snappy is a compression/decompression library. When uncompressing certain data, Snappy tries to read outside the bounds of the given byte arrays. Because Snappy uses the JDK class sun.misc.Unsafe to speed up memory access, no additional bounds checks are performed and this has similar security consequences as out-of-bounds access in C or C++, namely it can lead to non-deterministic behavior or crash the JVM. iq80 Snappy is not actively maintained anymore. As quick fix users can upgrade to version 0.5.
- Published
- 3 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-125
- Also known as
- GHSA-8wh2-6qhj-h7j9
- Sources
- NVDJSONOSV GHSA-8wh2-6qhj-h7j9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dain | snappycpe:2.3:a:dain:snappy:*:*:*:*:*:*:*:* |
< 0.5 | 0.5 |
| OSV | Maven | org.iq80.snappy:snappy | < 0.5 | 0.5 |
References
- https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-36124 · ADVISORY
- https://github.com/dain/snappy · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Jun 2024)