CVE-2012-0213: Denial of Service in Apache POI

org.apache.poi:poi Updated 02 Oct 2025

Summary

04/05/2022
Yes i
Moderate
Not published

CVE-2012-0213: Denial of Service in Apache POI. Affects org.apache.poi:poi versions < 3.10-beta1. Fixed in 3.10-beta1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache POI is a Java library that provides support for reading and writing Microsoft Office file formats, including Word, Excel, and PowerPoint. It is widely used in various applications for manipulating Office documents. However, versions 3.8 and earlier of Apache POI are vulnerable to a Denial of Service (DoS) attack.

Vulnerability Detail

The vulnerability, identified as CVE-2012-0213, exists in the UnhandledDataStructure function within the hwpf/model/UnhandledDataStructure.java file of Apache POI. It allows remote attackers to trigger an OutOfMemoryError exception and potentially destabilize the Java Virtual Machine (JVM) by exploiting a crafted length value in a Channel Definition Format (CDF) or Compound File Binary Format (CFBF) document. This vulnerability can be exploited remotely, leading to a DoS condition and potential disruption of the affected application.

How To Fix

Minimum fixed version

3.10-beta1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to a secure version of Apache POI.

Conclusion

The vulnerability in Apache POI versions 3.8 and earlier can lead to a Denial of Service condition and potential JVM destabilization. It is crucial to upgrade to Apache POI version 3.9 or later to mitigate this vulnerability. For additional assistance with vulnerability remediation, please reach out to DevNack.com.

See every vulnerability recorded for org.apache.poi:poi →

Share this vulnerability

FAQ

Apache POI is a Java library for manipulating Microsoft Office file formats.

This vulnerability can be exploited remotely to cause a DoS condition and potentially destabilize the JVM.

Upgrade to Apache POI version 3.9 or later.

No, there is no known workaround for this vulnerability.

For further support on vulnerability remediation, you can contact info@devnack.com.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.poi:poi.

How To Fix

Minimum fixed version

3.10-beta1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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