{"id":"CVE-2024-36124","published":"2024-06-03T14:25:58Z","modified":"2024-09-05T14:44:12Z","title":"iq80 Snappy has an out-of-bounds read when uncompressing data, leading to JVM crash","vendor":"dain","product":"snappy","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00487,"percentile":0.42826,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/dain/snappy/security/advisories/GHSA-8wh2-6qhj-h7j9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.57},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"dain","affectedVersions":[{"vendor":"dain","product":"snappy","versions":["< 0.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-06T18:26:25.852205Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.iq80.snappy:snappy","vulnerableRanges":["<0.5"],"patched":["0.5"],"from":["GHSA-8wh2-6qhj-h7j9"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the uncompression routine of the iq80 Snappy compression/decompression library (vendor dain, product snappy), where certain input data causes reads beyond the supplied byte arrays because no bounds checks are performed when it uses sun.misc.Unsafe. An attacker who can supply crafted compressed data to a network-reachable component that uses the library, without authentication or user interaction, can trigger a read outside the array bounds, which may crash the JVM or cause non-deterministic behaviour.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:25Z"},"euvd":{"id":"EUVD-2024-1986","exploited":false,"provenance":"source"}}