# CVE-2024-36124: iq80 Snappy has an out-of-bounds read when uncompressing data, leading to JVM crash

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-06-03T14:25:58.628Z
- Modified: 2026-09-10T03:50:15.013Z
- Also known as: GHSA-8wh2-6qhj-h7j9
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- dain snappy: < 0.5; before 0.5
- xerial snappy-java: before 0.5
- org.iq80.snappy:snappy (Maven): before 0.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## 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)

## Sources

- CVE List: [CVE-2024-36124](https://www.cve.org/CVERecord?id=CVE-2024-36124), CVE Terms of Use, modified 2024-09-05
- GitHub Advisory Database: [GHSA-8wh2-6qhj-h7j9](https://github.com/advisories/GHSA-8wh2-6qhj-h7j9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-36124](https://nvd.nist.gov/vuln/detail/CVE-2024-36124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36124 · Whole record: https://cve.day/CVE-2024-36124.json · Rebuilt by cve.day 2026-11-25T22:58:41.382Z
