{"id":"CVE-2026-108106","aliases":["CVE-2026-108106","GHSA-q233-g92q-qxp6"],"related":[],"kind":"vulnerability","state":"published","title":"Xerial snappy-java before 1.1.10.9 Unbounded Memory Allocation Denial of Service","summary":"Xerial snappy-java before 1.1.10.9 contains an unbounded memory allocation vulnerability that allows attackers to exhaust JVM memory by declaring a large uncompressed length in compressed input. Attackers can supply a few crafted bytes to Snappy.uncompress, uncompressString, SnappyInputStream or SnappyFramedInputStream to force allocations up to 2 GB, causing OutOfMemoryError and denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Xerial snappy-java before 1.1.10.9 contains an unbounded memory allocation vulnerability that allows attackers to exhaust JVM memory by declaring a large uncompressed length in compressed input. Attackers can supply a few crafted bytes to Snappy.uncompress, uncompressString, SnappyInputStream or SnappyFramedInputStream to force allocations up to 2 GB, causing OutOfMemoryError and denial of service.","source":"cvelist"},{"lang":"en","text":"### Impact\nSeveral decompression paths in snappy-java allocate an output buffer sized by the uncompressed length declared in the first bytes of the compressed data, before decompressing or validating it. A few bytes of crafted input can therefore force an allocation of up to 2 GB, causing `OutOfMemoryError` (denial of service), or a `NegativeArraySizeException` for declared lengths of 2^31 or more.\n\nAffected entry points include `Snappy.uncompress(byte[])`, `Snappy.uncompressString`, the `Snappy.uncompress*Array` methods, `SnappyInputStream`, and `SnappyFramedInputStream`. The `maxChunkSize` limit added for CVE-2023-43642 bounds only the compressed chunk length, so it does not prevent this.\n\n### Patches\nFixed in 1.1.10.9 (#739). `Snappy.uncompressedLength()` now rejects negative declared lengths, and lengths larger than any valid Snappy stream of the given size can produce. The densest Snappy element expands 3 bytes to 64, so the limit is 64/3 of the compressed size. Allocations are therefore proportional to the input actually received.\n\n### Workarounds\nBefore decompressing untrusted data, check that `Snappy.uncompressedLength(input)` is within an application-specific limit.","format":"markdown","source":"ghsa"}],"published":"2026-10-09T14:33:29.499Z","modified":"2026-10-27T15:47:24.815Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770","CWE-789"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.1.10.9","status":"affected"},{"type":"custom","version":"1.1.10.9","status":"unaffected"}],"vendor":"xerial","product":"snappy-java","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.1.10.9"}],"ecosystem":"Maven","package":"org.xerial.snappy:snappy-java","purl":"pkg:maven/org.xerial.snappy/snappy-java","source":"ghsa"}],"references":[{"url":"https://github.com/xerial/snappy-java/security/advisories/GHSA-q233-g92q-qxp6","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xerial/snappy-java/commit/943c6043a292568575e8347af4507d015e802c75","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xerial/snappy-java/releases/tag/v1.1.10.9","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xerial/snappy-java/blob/v1.1.10.8/src/main/java/org/xerial/snappy/Snappy.java#L517","tags":["technical-description","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xerial/snappy-java","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/xerial-snappy-java-before-1.1.10.9-unbounded-memory-allocation-denial-of-service","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108106","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xerial/snappy-java/pull/739","tags":["web"],"sources":["ghsa"]}],"credits":["Yu Bao, PayPal Cyber Security Team","1seal","EndlssNightmare","taer","apvxlab","trnguyencflt"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-13T16:50:47.015Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108106","url":"https://www.cve.org/CVERecord?id=CVE-2026-108106","licence":"CVE Terms of Use","modified":"2026-10-13T16:51:17.678Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q233-g92q-qxp6","url":"https://github.com/advisories/GHSA-q233-g92q-qxp6","licence":"CC-BY-4.0","modified":"2026-10-27T15:47:24.815Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108106","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108106","licence":"Public domain","modified":"2026-10-13T17:17:19.130Z"}],"updatedAt":"2026-11-25T22:59:43.324Z","epss":{"score":0.00371,"percentile":0.33094,"date":"2026-12-01T12:00:22.000Z"}}