{"id":"CVE-2026-93451","aliases":["CVE-2026-93451","GHSA-gwq9-9ffj-mvrv"],"related":[],"kind":"vulnerability","state":"published","title":"snappy-java through 1.1.10.8 Buffer Overflow via typed uncompress methods","summary":"snappy-java through 1.1.10.8 contains a buffer overflow vulnerability in typed Snappy.uncompress*Array methods that allocate output arrays by dividing uncompressed length by element size but pass the undivided length to native code. Attackers controlling compressed input can cause misaligned length values to write past array bounds with attacker-controlled bytes, corrupting heap memory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"snappy-java through 1.1.10.8 contains a buffer overflow vulnerability in typed Snappy.uncompress*Array methods that allocate output arrays by dividing uncompressed length by element size but pass the undivided length to native code. Attackers controlling compressed input can cause misaligned length values to write past array bounds with attacker-controlled bytes, corrupting heap memory.","source":"cvelist"},{"lang":"en","text":"### Impact\n`Snappy.uncompressCharArray`, `uncompressShortArray`, `uncompressIntArray`, `uncompressLongArray`, `uncompressFloatArray` and `uncompressDoubleArray` sized the result array by dividing the declared uncompressed byte length by the element size, but native code wrote the full byte length. If the declared length is not a multiple of the element size, up to 7 bytes are written past the end of the Java array, corrupting the heap.\n\n### Patches\nFixed in 1.1.10.9 ([#739](https://github.com/xerial/snappy-java/pull/739)). These methods now reject uncompressed lengths that are not a multiple of the element size with `SnappyIOException`.\n\n### Workarounds\nCheck that `Snappy.uncompressedLength(input)` is a multiple of the element size before calling these methods.","format":"markdown","source":"ghsa"}],"published":"2026-09-17T23:25:11.585Z","modified":"2026-10-27T15:47:24.498Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},{"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-193","CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.1.10.8","status":"affected"}],"vendor":"xerial","product":"snappy-java","repo":"https://github.com/xerial/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/issues/729","tags":["issue-tracking","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#L802","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/snappy-java-through-1.1.10.8-buffer-overflow-via-typed-uncompress-methods","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xerial/snappy-java/security/advisories/GHSA-gwq9-9ffj-mvrv","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93451","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xerial/snappy-java/pull/739","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xerial/snappy-java/commit/943c6043a292568575e8347af4507d015e802c75","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xerial/snappy-java/releases/tag/v1.1.10.9","tags":["web"],"sources":["ghsa"]}],"credits":["Yu Bao, PayPal Cyber Security Team"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-21T16:28:43.993Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93451","url":"https://www.cve.org/CVERecord?id=CVE-2026-93451","licence":"CVE Terms of Use","modified":"2026-10-08T15:51:52.357Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gwq9-9ffj-mvrv","url":"https://github.com/advisories/GHSA-gwq9-9ffj-mvrv","licence":"CC-BY-4.0","modified":"2026-10-27T15:47:24.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93451","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93451","licence":"Public domain","modified":"2026-10-08T16:18:00.330Z"}],"updatedAt":"2026-11-25T22:59:39.545Z","epss":{"score":0.00296,"percentile":0.23912,"date":"2026-12-02T12:00:21.000Z"}}