{"id":"CVE-2023-43642","published":"2023-09-25T19:03:49Z","modified":"2024-09-24T15:26:53Z","title":"Missing upper bound check on chunk length in snappy-java","vendor":"xerial","product":"snappy-java","tier":"tail","description":{"text":"snappy-java is a Java port of the snappy, a fast C++ compresser/decompresser developed by Google. The SnappyInputStream was found to be vulnerable to Denial of Service (DoS) attacks when decompressing data with a too large chunk size. Due to missing upper bound check on chunk length, an unrecoverable fatal error can occur. All versions of snappy-java including the latest released version 1.1.10.3 are vulnerable to this issue. A fix has been introduced in commit `9f8c3cf74` which will be included in the 1.1.10.4 release. Users are advised to upgrade. Users unable to upgrade should only accept compressed data from trusted sources.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01211,"percentile":0.6908,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":13.82},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"xerial","affectedVersions":[{"vendor":"xerial","product":"snappy-java","versions":["< 1.1.10.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-24T15:26:43.352715Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xerial.snappy:snappy-java","vulnerableRanges":["<1.1.10.4"],"patched":["1.1.10.4"],"from":["GHSA-55g7-9cwv-5qfv"],"provenance":"source"}],"summary":{"text":"The snappy-java library's SnappyInputStream component, a Java port of Google's snappy compressor/decompressor, lacks an upper bound check on chunk length during decompression. An attacker who can supply compressed data with an oversized chunk size, with no authentication or user interaction required over the network, can trigger an unrecoverable fatal error that denies service to the affected application; all released versions through 1.1.10.3 are affected, and users unable to upgrade should accept compressed data only from trusted sources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:20Z"},"euvd":{"id":"EUVD-2023-2424","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xerial-snappy-java-cve-2023-34454","parents":[{"from":"CVE-2023-34455","to":"CVE-2023-43642","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/org/xerial/snappy/SnappyInputStream.java"],"commits":["https://github.com/xerial/snappy-java/commit/3bf67857fcf70d9eea56eed4af7c925671e8eaea","https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5"],"basis":"shared function","functions":["hasNextChunk"]}]}],"children":[{"from":"CVE-2023-43642","to":"CVE-2026-108104","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/main/java/org/xerial/snappy/SnappyInputStream.java"],"commits":["https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5","https://github.com/xerial/snappy-java/commit/139a53090a6662298924fd75d21f4769b4a219ea"],"basis":"shared function","functions":["SnappyInputStream","hasNextChunk"]}]}],"packageHistory":[{"cve":"CVE-2023-34453","published":"2023-06-15","fixed":"1.1.10.1","kev":false},{"cve":"CVE-2023-34454","published":"2023-06-15","fixed":"1.1.10.1","kev":false,"link":{"from":"CVE-2023-34454","to":"CVE-2023-43642","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xerial.snappy:snappy-java","fromFixed":"1.1.10.1","toFixed":"1.1.10.4","daysApart":102}]}},{"cve":"CVE-2023-34455","published":"2023-06-15","fixed":"1.1.10.1","kev":false},{"cve":"CVE-2023-43642","published":"2023-09-25","fixed":"1.1.10.4","kev":false},{"cve":"CVE-2026-108106","published":"2026-10-09","fixed":"1.1.10.9","kev":false},{"cve":"CVE-2026-116590","published":"2026-10-26","fixed":"1.1.10.9","kev":false},{"cve":"CVE-2026-93451","published":"2026-09-17","fixed":"1.1.10.9","kev":false}],"package":"Maven:org.xerial.snappy:snappy-java"}}