CVE-2023-43642
HIGH 7.5CVSS 3.1snappy-java's missing upper bound check on chunk length can lead to Denial of Service (DoS) impact
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.
- Published
- 25 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-55g7-9cwv-5qfv
- Sources
- NVDJSONOSV GHSA-55g7-9cwv-5qfvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xerial | snappy-javacpe:2.3:a:xerial:snappy-java:*:*:*:*:*:*:*:* |
< 1.1.10.4 | 1.1.10.4 |
| OSV | Maven | org.xerial.snappy:snappy-java | < 1.1.10.4 | 1.1.10.4 |
References
- https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5 · Patch, WEB
- https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv · Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-43642 · ADVISORY
- https://github.com/xerial/snappy-java · PACKAGE
- https://github.com/xerial/snappy-java/releases/tag/v1.1.10.4 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 25 Sep 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2023)