Incomplete Cleanup Affecting org.apache.struts:struts2-core package, versions [,6.8.0)[7.0.0,7.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.49% (72nd 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-JAVA-ORGAPACHESTRUTS-14172798
  • published3 Dec 2025
  • disclosed1 Dec 2025
  • creditNicolas Fournier

Introduced: 1 Dec 2025

CVE-2025-64775  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 6.8.0, 7.1.1 or higher.

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

Affected versions of this package are vulnerable to Incomplete Cleanup in the multipart request processing in the file parameters in OGNL-mapped Value Object. An attacker can cause disk exhaustion by repeatedly sending crafted requests that trigger file leaks.

Note: CVE-2025-66675 is a duplicate of CVE-2025-64775

Workaround

This vulnerability can be mitigated by one of the following:

  1. Define a temporary folder used to store uploaded files with limited size or on the dedicated volume which won't affect system files.

  2. Disable file upload support in the framework if not used.

CVSS Base Scores

version 4.0
version 3.1