Apache POI XXE Vulnerability in libapache-poi-java: Remote File Access Risk

libapache-poi-java Updated 02 Oct 2025

Summary

05/08/2016
N/A
No i
Unrated
Not published

DEBIAN-CVE-2016-5000: The XLSX2CSV example in Apache POI before 3.14 allows remote attackers to read arbitrary files via a crafted OpenXML document containing an external entity declaration in conjunction with an entity reference, related to... Affects libapache-poi-java versions 4.0.1-1 – 4.0.1-6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libapache-poi-java is a Java library that provides APIs for manipulating various file formats based on the Office Open XML standards. It is widely used for reading and writing Microsoft Office documents. However, prior to version 3.14, it contained a vulnerability that allowed attackers to exploit XML External Entity (XXE) issues, potentially leading to unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability identified as CVE-2016-5000 in Apache POI allows remote attackers to read arbitrary files by crafting an OpenXML document that contains an external entity declaration alongside an entity reference. This XXE issue can lead to significant security risks, including data leakage and unauthorized access to sensitive information stored on the server. The vulnerability affects all versions of libapache-poi-java before 3.14, making it critical for users to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the processing of external entities in XML parsers if they are not needed. This can be done by configuring the XML parser settings to prevent the resolution of external entities, thereby reducing the risk of exploitation.

Conclusion

The CVE-2016-5000 vulnerability in libapache-poi-java poses a significant risk by allowing unauthorized file access through crafted OpenXML documents. Users are strongly advised to update to version 3.14 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libapache-poi-java →

Share this vulnerability

FAQ

CVE-2016-5000 is a vulnerability in Apache POI that allows remote attackers to read arbitrary files through crafted OpenXML documents.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include unauthorized access to sensitive files, data leakage, and potential exploitation of the server.

Yes, updating to version 3.14 or later of libapache-poi-java addresses the vulnerability.

If immediate updating is not possible, consider disabling external entity processing in your XML parsers as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for libapache-poi-java.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback