Read the docs
TI-2023-17281 Aliases CVE-2023-34455GHSA-qcwq-55hx-v3vh

snappy-java's unchecked chunk length leads to DoS

Priority HIGH 72CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 7 fixed, 16 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01762 78th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial snappy-java (xerial): 1.1.10.1org.xerial.snappy:snappy-java (Maven): 1.1.10.1Red Hat: 7 advisoriesRed Hat: 7 fixed, 16 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
xerialsnappy-javabefore 1.1.10.11.1.10.1Patch availableCNA
—org.xerial.snappy:snappy-java (Maven)before 1.1.10.11.1.10.1Patch availableGHSA-qcwq-55hx-v3vh
  • snappy-java Vendorxerial Affected before 1.1.10.1 Fixed in 1.1.10.1 Patch available CNA
  • org.xerial.snappy:snappy-java (Maven) Vendor— Affected before 1.1.10.1 Fixed in 1.1.10.1 Patch available GHSA-qcwq-55hx-v3vh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xerial:snappy-java:*:*:*:*:*:*:*:*before 1.1.10.1Vulnerablexerial
  • cpe:2.3:a:xerial:snappy-java:*:*:*:*:*:*:*:* Versions before 1.1.10.1 Vulnerable ·xerial

Remediation

  • Fix · CNA snappy-java (xerial) Fixed in 1.1.10.1
  • Fix · GHSA-qcwq-55hx-v3vh org.xerial.snappy:snappy-java (Maven) Fixed in 1.1.10.1 Advisory →

Red Hat 7 advisories

  • RHSA-2024:6893 Released 2024-09-19 · Red Hat rating Moderate
    Red Hat AMQ Broker 7.12.0 release and security update
    • Red Hat AMQ Broker 7
  • RHSA-2024:0148 Released 2024-01-10 · Red Hat rating Important
    Red Hat Integration Camel K 1.10.5 release and security update
    • RHINT Camel-K 1.10.5
  • RHSA-2023:7700 Released 2023-12-07 · Red Hat rating Important
    Red Hat build of Quarkus 2.13.9 release and security update
    • Red Hat build of Quarkus 2.13.9
Show 4 more Red Hat advisories
  • RHSA-2023:7653 Released 2023-12-05 · Red Hat rating Important
    Service Registry (container images) release and security update [2.5.4 GA]
    • RHINT Service Registry 2.5.4 GA
  • RHSA-2023:5165 Released 2023-09-14 · Red Hat rating Important
    Red Hat AMQ Streams 2.5.0 release and security update
    • Red Hat AMQ Streams 2.5.0
  • RHSA-2023:5148 Released 2023-09-13 · Red Hat rating Important
    Red Hat Integration Camel for Spring Boot 3.20.2 release and security update
    • RHINT Camel-Springboot 3.20.2
  • RHSA-2023:5147 Released 2023-09-13 · Red Hat rating Important
    Red Hat Integration Camel for Spring Boot 3.18.3.2 release and security update
    • RHINT Camel-Springboot 3.18.3.2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift ServerlessAffectedNo fix planned: Will not fix
Red Hat Decision Manager 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat Integration Camel Quarkus 2AffectedNo fix yet
Red Hat JBoss Data Grid 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Fuse Service Works 6AffectedNo fix planned: Out of support scope
Red Hat OpenShift Application RuntimesAffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 3.11AffectedNo fix planned: Out of support scope
Red Hat Process Automation 7AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat build of Debezium 1AffectedNo fix yet
Red Hat build of Debezium 2AffectedNo fix yet
Red Hat build of OptaPlanner 8AffectedNo fix yet
streams for Apache KafkaAffectedNo fix yet
RHINT Camel-K 1.10.5Fixed RHSA-2024:0148
RHINT Camel-Springboot 3.18.3.2Fixed RHSA-2023:5147
RHINT Camel-Springboot 3.20.2Fixed RHSA-2023:5148
RHINT Service Registry 2.5.4 GAFixed RHSA-2023:7653
Red Hat AMQ Broker 7Fixed RHSA-2024:6893
Red Hat AMQ Streams 2.5.0Fixed RHSA-2023:5165
Red Hat build of Quarkus 2.13.9Fixed RHSA-2023:7700
Not affected: 8 products
  • A-MQ Clients 2
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Data Grid 8
  • Red Hat Fuse 7
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat JBoss Fuse 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-34455
  2. 2026-10-03 Alias added: GHSA-qcwq-55hx-v3vh
  3. 2026-10-09 Fix available: Red Hat build of Quarkus 2.13.9 · Red Hat

References

  • TI-2023-23368 Missing upper bound check on chunk length in snappy-java CVSS 3.1HIGH 7.5
  • TI-2023-17280 snappy-java's Integer Overflow vulnerability in compress leads to DoS CVSS 3.1HIGH 7.5
  • TI-2023-17279 snappy-java's Integer Overflow vulnerability in shuffle leads to DoS CVSS 3.1HIGH 7.5

Sources