CVE-2023-34453
CVSS v3
7.5
HIGH
EPSS Score
1.7 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for snappy-java.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- org.xerial.snappy:snappy-javaMavenall versions · fixed in 1.1.10.1
Vendor advisories
snappy-java: Integer overflow in shuffle leads to DoS
snappy-java as a component of OpenShift Serverless · snappy-java-all as a component of Red Hat JBoss Fuse 6 · snappy-java-all-repolib as a component of Red Hat JBoss Fuse 6
Red Hat Security Advisory: Red Hat build of Quarkus 2.13.9 release and security update
Red Hat Security Advisory: Red Hat AMQ Streams 2.5.0 release and security update
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.
Technical details
- Published
- 2023-06-15
Frequently asked questions
What is CVE-2023-34453?
Is CVE-2023-34453 actively exploited?
What is the CVSS score for CVE-2023-34453?
Running snappy-java? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.