# CVE-2023-43642: Missing upper bound check on chunk length in snappy-java

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.21%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-25T18:30:18.000Z
- Modified: 2026-09-10T03:49:57.806Z
- Also known as: GHSA-55g7-9cwv-5qfv
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- xerial snappy-java: < 1.1.10.4; before 1.1.10.4
- org.xerial.snappy:snappy-java (Maven): before 1.1.10.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv> (exploit, web)
- <https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5> (patch, 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)

## Sources

- CVE List: [CVE-2023-43642](https://www.cve.org/CVERecord?id=CVE-2023-43642), CVE Terms of Use, modified 2024-09-24
- GitHub Advisory Database: [GHSA-55g7-9cwv-5qfv](https://github.com/advisories/GHSA-55g7-9cwv-5qfv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-43642](https://nvd.nist.gov/vuln/detail/CVE-2023-43642), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-43642 · Whole record: https://cve.day/CVE-2023-43642.json · Rebuilt by cve.day 2026-11-25T22:58:28.112Z
