WaratekVRT Sign in

CVE-2023-34453 snappy-java

Affected softwaresnappy-java
Severity7.5 High CVSS 3.1 2 scores
Fixed in1.1.10.1
WeaknessInteger overflow (CWE-190)
Published15 Jun 2023
Updated17 Jun 2026

Description

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 a fatal error. The function shuffle(int[] input) in the file BitShuffle.java receives an array of integers and applies a bit shuffle on it. It does so by multiplying the length by 4 and passing it to the natively compiled shuffle function. Since the length is not tested, the multiplication by four can cause an integer overflow and become a smaller value than the true size, or even zero or negative. In the case of a negative value, a java.lang.NegativeArraySizeException exception will raise, which can crash the program. In a case of a value that is zero or too small, the code that afterwards references the shuffled array will assume a bigger size of the array, which might cause exceptions such as java.lang.ArrayIndexOutOfBoundsException. The same issue exists also when using the shuffle functions that receive a double, float, long and short, each using a different multiplier that may cause the same issue. Version 1.1.10.1 contains a patch for this vulnerability.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 1.7% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xerial/snappy-java 820e2e0.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xerial/snappy-java/commit/820e2e074c58748b41dbd547f4edba9e108ad905 : a commit: the change itself

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 Primary published
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H security-advisories@github.com Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Communications / Core (assertj) (6.1.1-7.0.0)
Oracle Critical Patch Update April 2026 ↗ CPU 2026-Q2 Oracle Communications / Platform (Snappy) (24.2.1)
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Analytics / Visual Analyzer (Snappy) (7.0.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Visual Analyzer (Snappy) 7.0.0.0.0 7.0.0.0.0
Oracle Communications Core (assertj) 6.1.1-7.0.0
Oracle Communications Platform (Snappy) 24.2.1 24.2.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xerial.snappy:snappy-java 0 1.1.10.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.xerial.snappy snappy-java generic < 1.1.10.1
nvd xerial snappy-java generic < 1.1.10.1

References

URLTags
https://github.com/xerial/snappy-java/commit/820e2e074c58748b41dbd547f4edba9e108ad905 commit
https://github.com/xerial/snappy-java/security/advisories/GHSA-pqr6-cmr2-h8hf WEB
https://github.com/xerial/snappy-java PACKAGE
https://github.com/xerial/snappy-java/blob/05c39b2ca9b5b7b39611529cc302d3d796329611/src/main/java/org/xerial/snappy/BitShuffle.java#L107 WEB
https://github.com/xerial/snappy-java/blob/master/src/main/java/org/xerial/snappy/BitShuffle.java WEB

Timeline

Published2023-06-15By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.