CVEBrief

Home / xerial / snappy-java / CVE-2023-34454

CVE-2023-34454: is it exploited, and which versions of xerial snappy-java are affected and fixed?

CVE-2023-34454 is an integer overflow 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, 16:39 UTC). Affected: org.xerial.snappy:snappy-java before 1.1.10.1 (GitHub advisory GHSA-fjpj-2g6w-x25r). Fixed in 1.1.10.1 (GitHub advisory GHSA-fjpj-2g6w-x25r). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:39 UTC
Affected
org.xerial.snappy:snappy-java before 1.1.10.1
GitHub advisory GHSA-fjpj-2g6w-x25r
Fixed in
1.1.10.1
GitHub advisory GHSA-fjpj-2g6w-x25r
Severity
Medium 5.9
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.47% in 30 days
higher than 75% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-34454?

snappy-java's Integer Overflow vulnerability in compress leads to DoS

snappy-java is a fast compressor/decompressor for Java. Due to unchecked multiplications, an integer overflow may occur in versions prior to 1.1.10.1, causing an unrecoverable fatal error. The function `compress(char[] input)` in the file `Snappy.java` receives an array of characters and compresses it. It does so by multiplying the length by 2 and passing it to the rawCompress` function. Since the length is not tested, the multiplication by two can cause an integer overflow and become negative. The rawCompress function then uses the received length and passes it to the natively compiled maxCompressedLength function, using the returned value to allocate a byte array. Since the maxCompressedLength function treats the length as an unsigned integer, it doesn’t care that it is negative, and it returns a valid value, which is casted to a signed integer by the Java engine. If the result is negative, a `java.lang.NegativeArraySizeException` exception will be raised while trying to allocate the array `buf`. On the other side, if the result is positive, the `buf` array will successfully be allocated, but its size might be too small to use for the compression, causing a fatal Access Violation error. The same issue exists also when using the `compress` functions that receive double, float, int, long and short, each using a different multiplier that may cause the same issue. The issue most likely won’t occur when using a byte array, since creating a byte array of size 0x80000000 (or any other negative value) is impossible in the first place. Version 1.1.10.1 contains a patch for this issue.

From the CVE record by GitHub_M, last updated December 12, 2024, 16:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
xerialsnappy-java< 1.1.10.1

As the CVE record by GitHub_M states it, last updated December 12, 2024. 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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.xerial.snappy:snappy-java< 1.1.10.11.1.10.1GHSA-fjpj-2g6w-x25r

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 27, 2023. Summary: snappy-java's Integer Overflow vulnerability in compress leads to DoS.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
xerialsnappy-javabefore 1.1.10.1application

NVD analysis (status Modified), last modified June 17, 2026, 06:03 UTC.

How severe is CVE-2023-34454?

ScoreVersionVectorSource
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

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-34454 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, December 12, 2024)
EPSS
1.47% probability of exploitation activity in the next 30 days, percentile 74.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 6, 2023
Published
June 15, 2023, 16:27 UTC
CVE record updated
December 12, 2024, 16:25 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, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect snappy-java?

Every CVE in snappy-java

Questions about CVE-2023-34454

Is CVE-2023-34454 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 1.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of xerial snappy-java are affected by CVE-2023-34454?

org.xerial.snappy:snappy-java before 1.1.10.1, per the GitHub advisory GHSA-fjpj-2g6w-x25r. The tables above give every range the sources list.

Which version fixes CVE-2023-34454?

1.1.10.1, per the GitHub advisory GHSA-fjpj-2g6w-x25r. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-34454?

Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-34454?

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.