U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2025-31672

Change History

New CVE Received from Apache Software Foundation 4/09/2025 8:15:15 AM

Action Type Old Value New Value
Added Description

								
							
							
						
Improper Input Validation vulnerability in Apache POI. The issue affects the parsing of OOXML format files like xlsx, docx and pptx. These file formats are basically zip files and it is possible for malicious users to add zip entries with duplicate names (including the path) in the zip. In this case, products reading the affected file could read different data because 1 of the zip entries with the duplicate name is selected over another but different products may choose a different zip entry.
This issue affects Apache POI poi-ooxml before 5.4.0. poi-ooxml 5.4.0 has a check that throws an exception if zip entries with duplicate file names are found in the input file.
Users are recommended to upgrade to version poi-ooxml 5.4.0, which fixes the issue. Please read  https://poi.apache.org/security.html  for recommendations about how to use the POI libraries securely.
Added CWE

								
							
							
						
CWE-20
Added Reference

								
							
							
						
https://bz.apache.org/bugzilla/show_bug.cgi?id=69620
Added Reference

								
							
							
						
https://lists.apache.org/thread/k14w8vcjqy4h34hh5kzldko78kpylkq5