{"id":"CVE-2025-67721","aliases":["CVE-2025-67721","GHSA-vx9q-rhv9-3jvg"],"related":[],"kind":"vulnerability","state":"published","title":"Aircompressor's Snappy and LZ4 Java-based decompressor implementation can leak information from reused output buffer","summary":"Aircompressor is a library with ports of the Snappy, LZO, LZ4, and Zstandard compression algorithms to Java. In versions 3.3 and below, incorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allow remote attackers to read previous buffer contents via crafted compressed input. With certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output, potentially leaking sensitive data. This is relevant for applications that reuse the same output buffer to uncompress multiple inputs. This can be the case of a web server that allocates a fix-sized buffer for performance purposes. There is similar vulnerability in GHSA-cmp6-m4wj-q63q. This issue is fixed in version 3.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Aircompressor is a library with ports of the Snappy, LZO, LZ4, and Zstandard compression algorithms to Java. In versions 3.3 and below, incorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allow remote attackers to read previous buffer contents via crafted compressed input. With certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output, potentially leaking sensitive data. This is relevant for applications that reuse the same output buffer to uncompress multiple inputs. This can be the case of a web server that allocates a fix-sized buffer for performance purposes. There is similar vulnerability in GHSA-cmp6-m4wj-q63q. This issue is fixed in version 3.4.","source":"cvelist"},{"lang":"en","text":"### Summary\nIncorrect handling of malformed data in Java-based decompressor implementations for Snappy and LZ4 allows remote attackers to read previous buffer contents via crafted compressed input. In applications where the output buffer is reused without being cleared, this may lead to disclosure of sensitive data.\n\n### Details\nWith certain crafted compressed inputs, elements from the output buffer can end up in the uncompressed output. This is relevant for applications that reuse the same output buffer to uncompress multiple inputs. This can be the case of a web server that allocates a fix-sized buffer for performance purposes. This is similar to [GHSA-cmp6-m4wj-q63q](https://github.com/yawkat/lz4-java/security/advisories/GHSA-cmp6-m4wj-q63q).\n\n### Impact\nApplications using aircompressor as described above may leak sensitive information to external unauthorized attackers.\n\n### Mitigation\n\nThe vulnerability is fixed in release 3.4 and 2.0.3. However, it can be mitigated by either:\n* Avoiding reuse of the decompression buffer across calls\n* Clearing the decompression buffer before a call to decompress data","format":"markdown","source":"ghsa"},{"lang":"es","text":"Aircompressor es una biblioteca con puertos de los algoritmos de compresión Snappy, LZO, LZ4 y Zstandard a Java. En las versiones 3.3 e inferiores, el manejo incorrecto de datos malformados en las implementaciones de descompresores basadas en Java para Snappy y LZ4 permite a atacantes remotos leer el contenido de búferes anteriores a través de una entrada comprimida manipulada. Con ciertas entradas comprimidas manipuladas, elementos del búfer de salida pueden terminar en la salida descomprimida, lo que podría filtrar datos sensibles. Esto es relevante para aplicaciones que reutilizan el mismo búfer de salida para descomprimir múltiples entradas. Este puede ser el caso de un servidor web que asigna un búfer de tamaño fijo con fines de rendimiento. Existe una vulnerabilidad similar en GHSA-cmp6-m4wj-q63q. Este problema está solucionado en la versión 3.4.","source":"nvd"}],"published":"2025-12-12T22:11:10.971Z","modified":"2026-10-07T20:10:01.970Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125","CWE-201"],"affected":[{"ranges":[{"version":"< 3.4","status":"affected"}],"vendor":"airlift","product":"aircompressor","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4"}],"ecosystem":"Maven","package":"io.airlift:aircompressor-v3","purl":"pkg:maven/io.airlift/aircompressor-v3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.0.3"}],"ecosystem":"Maven","package":"io.airlift:aircompressor","purl":"pkg:maven/io.airlift/aircompressor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.3"},{"status":"affected","introduced":"3.0","fixed":"3.4"}],"vendor":"airlift","product":"aircompressor","cpe":"cpe:2.3:a:airlift:aircompressor:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/airlift/aircompressor/security/advisories/GHSA-vx9q-rhv9-3jvg","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/airlift/aircompressor/commit/f2b489b398779b40c1ee29ddb11d7edef54ddc15","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/airlift/aircompressor/commit/ff12c4d5757c9d6d1de3d39a10402f1f84f9b765","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67721","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/airlift/aircompressor/pull/309","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/airlift/aircompressor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/airlift/aircompressor/releases/tag/2.0.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-15T15:03:47.177Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-67721","url":"https://www.cve.org/CVERecord?id=CVE-2025-67721","licence":"CVE Terms of Use","modified":"2025-12-15T15:04:15.629Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vx9q-rhv9-3jvg","url":"https://github.com/advisories/GHSA-vx9q-rhv9-3jvg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:32.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-67721","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67721","licence":"Public domain","modified":"2026-10-07T20:10:01.970Z"}],"updatedAt":"2026-11-25T22:59:09.346Z","epss":{"score":0.00564,"percentile":0.48236,"date":"2026-12-01T12:00:22.000Z"}}