Denial of Service in Apache POI
The UnhandledDataStructure function in hwpf/model/UnhandledDataStructure.java in Apache POI 3.8 and earlier allows remote attackers to cause a denial of service (OutOfMemoryError exception and possibly JVM destabilization) via a crafted length value in a Channel Definition Format (CDF) or Compound File Binary Format (CFBF) document.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.poi:poi | < 3.10-beta1 | 3.10-beta1 |
| Java / Kotlin (Maven) | org.apache.poi:poi-scratchpad | < 3.10-beta1 | 3.10-beta1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-0213
- https://github.com/apache/poi/commit/25bc679244188d63de690354db0e3f301291e252
- https://bugzilla.redhat.com/show_bug.cgi?id=799078
- https://github.com/apache/poi
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0044
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/084609.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21996759
- http://www.debian.org/security/2012/dsa-2468
- Weakness (CWE)
CWE-400- Platform
- Java / Kotlin (Maven)
- Package
org.apache.poi:poi, org.apache.poi:poi-scratchpad- Disclosed
- 04.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-jqx5-h2hw-5q4f - CC BY 4.0
Vulnerability history: org.apache.poi:poi-scratchpad
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 03.2022 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Denial of Service in Apache POI this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.