{"id":"GHSA-wm36-87w8-wg22","kind":"vulnerability","aliases":["GHSA-wm36-87w8-wg22"],"related":[],"title":"Duplicate Advisory: snappy-java: Heap buffer overflow in Snappy.uncompress*Array typed-array methods","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-gwq9-9ffj-mvrv This link is maintained to preserve external references.\n\n## Original Description\nsnappy-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.","summary":"snappy-java through 1.1.10.8 passes an undivided length to native code in its typed Snappy.uncompress*Array methods, so attacker-controlled compressed input can write past array bounds. The result is heap memory corruption; this advisory is withdrawn as a duplicate of GHSA-gwq9-9ffj-mvrv.","severity":"medium","cvss":6.5,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"org.xerial.snappy:snappy-java","fixed":[],"affected":"<= 1.1.10.8","ecosystem":"maven"}],"ecosystems":["maven"],"tags":["cwe-787","java","maven","package","snappy-java"],"not_affected_if":["byte-array-only-usage","no-untrusted-input"],"how_to_check":"- Run `mvn dependency:tree` or check the build file for `org.xerial.snappy:snappy-java` at a version up to `1.1.10.8`\n- Search code for calls to `Snappy.uncompressFloatArray`, `Snappy.uncompressIntArray`, `Snappy.uncompressDoubleArray`, `Snappy.uncompressLongArray` or `Snappy.uncompressShortArray`","fix":"- Upgrade `org.xerial.snappy:snappy-java` past `1.1.10.8`, using the fixed version named in GHSA-gwq9-9ffj-mvrv\n- Unknown whether a specific patched version is listed in this withdrawn entry","status":"withdrawn","published_at":"2026-09-18T00:31:11+00:00","first_seen_at":"2026-10-27T15:34:04+00:00","triaged_at":"2026-10-27T15:35:43+00:00","updated_at":"2026-10-27T15:35:43+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-27T15:35:43Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade `org.xerial.snappy:snappy-java` past `1.1.10.8`, using the fixed version named in GHSA-gwq9-9ffj-mvrv\n- Unknown whether a specific patched version is listed in this withdrawn entry","reach":"unknown","title":"snappy-java: heap buffer overflow in typed-array uncompress methods","impact":"high","summary":"snappy-java through 1.1.10.8 passes an undivided length to native code in its typed Snappy.uncompress*Array methods, so attacker-controlled compressed input can write past array bounds. The result is heap memory corruption; this advisory is withdrawn as a duplicate of GHSA-gwq9-9ffj-mvrv.","category":"package","nicknames":[],"who_cares":["java","maven","snappy-java"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker corrupts heap memory in the process decompressing untrusted input","analyst_note":"Advisory is withdrawn as a duplicate; confirm the fixed version and scope from GHSA-gwq9-9ffj-mvrv at https://github.com/advisories/GHSA-gwq9-9ffj-mvrv.","how_to_check":"- Run `mvn dependency:tree` or check the build file for `org.xerial.snappy:snappy-java` at a version up to `1.1.10.8`\n- Search code for calls to `Snappy.uncompressFloatArray`, `Snappy.uncompressIntArray`, `Snappy.uncompressDoubleArray`, `Snappy.uncompressLongArray` or `Snappy.uncompressShortArray`","needs_analyst":true,"not_affected_if":["byte-array-only-usage","no-untrusted-input"],"who_is_affected":"Java services that decompress untrusted Snappy data into typed arrays with the snappy-java typed uncompress methods are exposed. Applications that only use the byte-array uncompress API, or never decompress data from outside their trust boundary, are less exposed. Teams should check the parent advisory GHSA-gwq9-9ffj-mvrv for the authoritative scope.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000739,"input_tokens":3477,"output_tokens":782,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-787':31B '1.1.10.8':42B,118C '87w8':19A,24A '9ffj':84B,102C 'advisori':2A,74B,87C,89C 'alloc':130C 'array':11A,14A,54B,65B,127C,132C,160C 'attack':58B,148C,164C 'attacker-control':57B,163C 'bound':66B,161C 'buffer':7A,121C 'byte':166C 'caus':153C 'code':49B,147C 'compress':60B,150C 'contain':119C 'control':59B,149C,165C 'corrupt':72B,167C 'cwe':30B 'descript':113C 'divid':134C 'duplic':1A,79B,86C,97C 'element':138C 'extern':110C 'ghsa':17A,22A,82B,100C 'ghsa-gwq9-9ffj-mvrv':81B,99C 'ghsa-wm36-87w8-wg22':16A,21A 'gwq9':83B,101C 'heap':6A,70B,168C 'input':61B,151C 'java':5A,29A,32B,37B,40B,116C 'length':46B,136C,144C,155C 'link':105C 'maintain':107C 'maven':33B 'memori':71B,169C 'method':15A,55B,128C 'misalign':154C 'mvrv':85B,103C 'nativ':48B,146C 'org.xerial.snappy':26A 'origin':112C 'output':131C 'overflow':8A,122C 'packag':34B 'pass':43B,141C 'past':64B,159C 'preserv':109C 'refer':111C 'result':68B 'size':139C 'snappi':4A,36B,39B,115C 'snappy':28A 'snappy-java':3A,27A,35B,38B,114C 'snappy.uncompress':10A,53B,126C 'type':13A,52B,125C 'typed-array':12A 'uncompress':135C 'undivid':45B,143C 'valu':156C 'vulner':123C 'wg22':20A,25A 'withdrawn':76B,92C 'wm36':18A,23A 'write':63B,158C","nicknames":[],"mitigations":[],"who_affected":"Java services that decompress untrusted Snappy data into typed arrays with the snappy-java typed uncompress methods are exposed. Applications that only use the byte-array uncompress API, or never decompress data from outside their trust boundary, are less exposed. Teams should check the parent advisory GHSA-gwq9-9ffj-mvrv for the authoritative scope.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-09-18T00:31:11+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-wm36-87w8-wg22","url":"https://github.com/advisories/GHSA-wm36-87w8-wg22","severity":"medium","published_at":"2026-09-18T00:31:11+00:00","modified_at":"2026-10-27T15:33:38+00:00","first_seen_at":"2026-10-27T15:34:04+00:00","fetched_at":"2026-10-27T15:34:04+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}