Loop with Unreachable Exit Condition ('Infinite Loop') Affecting apache-commons-compress package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
16.16% (97th 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-RHEL10-APACHECOMMONSCOMPRESS-16720703
  • published17 May 2026
  • disclosed27 Aug 2019

Introduced: 27 Aug 2019

CVE-2019-12402  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 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 RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.

References

CVSS Base Scores

version 3.1