Use After Free Affecting apache-commons-compress package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-APACHECOMMONSCOMPRESS-19736831
  • published13 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

CVE-2026-87877  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 apache-commons-compress.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-commons-compress package and not the apache-commons-compress package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

zstd-jni versions before 1.5.7-14 fail to validate closed state in setDict, setLongMax, setLevel and setRefMultipleDDicts methods of stream classes. Attackers can call these methods on closed streams to write through freed native pointers, corrupting unrelated objects or crashing the JVM.

CVSS Base Scores

version 3.1