Home / xerial / snappy-java / CVE-2023-34455
CVE-2023-34455: is it exploited, and which versions of xerial snappy-java are affected and fixed?
CVE-2023-34455 is a denial of service (resources allocated without limits) vulnerability in xerial snappy-java. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: org.xerial.snappy:snappy-java before 1.1.10.1 (GitHub advisory GHSA-qcwq-55hx-v3vh). Fixed in 1.1.10.1 (GitHub advisory GHSA-qcwq-55hx-v3vh). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-34455?
snappy-java's unchecked chunk length leads to DoS
snappy-java is a fast compressor/decompressor for Java. Due to use of an unchecked chunk length, an unrecoverable fatal error can occur in versions prior to 1.1.10.1. The code in the function hasNextChunk in the fileSnappyInputStream.java checks if a given stream has more chunks to read. It does that by attempting to read 4 bytes. If it wasn’t possible to read the 4 bytes, the function returns false. Otherwise, if 4 bytes were available, the code treats them as the length of the next chunk. In the case that the `compressed` variable is null, a byte array is allocated with the size given by the input data. Since the code doesn’t test the legality of the `chunkSize` variable, it is possible to pass a negative number (such as 0xFFFFFFFF which is -1), which will cause the code to raise a `java.lang.NegativeArraySizeException` exception. A worse case would happen when passing a huge positive value (such as 0x7FFFFFFF), which would raise the fatal `java.lang.OutOfMemoryError` error. Version 1.1.10.1 contains a patch for this issue.
From the CVE record by GitHub_M, last updated February 13, 2025, 16:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| xerial | snappy-java | < 1.1.10.1 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.xerial.snappy:snappy-java | < 1.1.10.1 | 1.1.10.1 | GHSA-qcwq-55hx-v3vh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 18, 2023. Summary: snappy-java's unchecked chunk length leads to DoS.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xerial | snappy-java | before 1.1.10.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:03 UTC.
How severe is CVE-2023-34455?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-34455 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, December 11, 2024)
- EPSS
- 1.76% probability of exploitation activity in the next 30 days, percentile 78.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/xerial/snappy-java/security/advisories/GHSA-qcwq-55hx-v3vh x_refsource_CONFIRM
- https://github.com/xerial/snappy-java/commit/3bf67857fcf70d9eea56eed4af7c925671e8eaea x_refsource_MISC
- https://github.com/xerial/snappy-java/blob/05c39b2ca9b5b7b39611529cc302d3d796329611/src/main/java/org/xerial/snappy/SnappyInputStream.java#L388 x_refsource_MISC
- https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/SnappyInputStream.java x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20230818-0009/
When was it published, and where is the official record?
- Reserved
- June 6, 2023
- Published
- June 15, 2023, 17:15 UTC
- CVE record updated
- February 13, 2025, 16:55 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:03 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect snappy-java?
- Oct 26, 2026CVE-2026-116590 xerial snappy-java: improper array index validation
- Oct 9, 2026CVE-2026-108106 xerial snappy-java: memory Allocation with Excessive Size Value
- Oct 9, 2026CVE-2026-108104 xerial snappy-java: double free
- Sep 17, 2026CVE-2026-93452 xerial snappy-java: out-of-bounds write (memory corruption)
- Sep 17, 2026CVE-2026-93451 xerial snappy-java: out-of-bounds write (memory corruption)
- Sep 12, 2026CVE-2026-90559 xerial snappy-java: out-of-bounds write (memory corruption)
- Sep 25, 2023CVE-2023-43642 xerial snappy-java: denial of service (resources allocated without limits)
- Jun 15, 2023CVE-2023-34454 xerial snappy-java: integer overflow
Questions about CVE-2023-34455
Is CVE-2023-34455 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.76% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of xerial snappy-java are affected by CVE-2023-34455?
org.xerial.snappy:snappy-java before 1.1.10.1, per the GitHub advisory GHSA-qcwq-55hx-v3vh. The tables above give every range the sources list.
Which version fixes CVE-2023-34455?
1.1.10.1, per the GitHub advisory GHSA-qcwq-55hx-v3vh. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-34455?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-34455?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.