CVE-2022-26336 A carefully crafted TNEF file can cause an out of memory exception
Attackers can cause an out-of-memory denial of service by supplying crafted TNEF files to applications using the Apache POI scratchpad library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-26336?
CVE-2022-26336 is a medium-severity denial of service vulnerability in Netapp Active Iq Unified Manager, published on 4 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A shortcoming in the HMEF package of poi-scratchpad (Apache POI) allows an attacker to cause an Out of Memory exception. This package is used to read TNEF files (Microsoft Outlook and Microsoft Exchange Server). If an application uses poi-scratchpad to parse TNEF files and the application allows untrusted users to supply them, then a carefully crafted file can cause an Out of Memory exception. This issue affects poi-scratchpad version 5.2.0 and prior versions. Users are recommended to upgrade to poi-scratchpad 5.2.1.
Which versions are affected by CVE-2022-26336?
2 open source packages ship an affected version, including org.apache.poi:poi-scratchpad. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.poi:poi-scratchpad Maven | From 3.8-beta1 | 5.2.1 |
org.apache.poi:poi-scratchpad Maven | From 3.8-beta1 | 5.2.1 |
Products include Apache Poi, Netapp Active Iq Unified Manager.
How do I fix CVE-2022-26336?
Upgrade org.apache.poi:poi-scratchpad to 5.2.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-26336 being exploited?
There is no known exploitation of CVE-2022-26336 in the wild and no public exploit code.
Other vulnerabilities in Netapp Active Iq Unified Manager
- CVE-2017-12626 Denial of Service in Apache POI
- CVE-2019-12415 Improper Restriction of XML External Entity Reference in Apache POI
- CVE-2017-5644 Improper Restriction of Recursive Entity References in DTDs in Apache POI
- CVE-2016-5000 Apache POI's XLSX2CSV Example XML External Entity (XXE) Vulnerability
- CVE-2025-31672 Apache POI OOXML Vulnerable to Improper Input Validation in OOXML File Parsing
Sources
Also known as CLSA-2026-1780534250, GHSA-mqvp-7rrg-9jxc, UBUNTU-CVE-2022-26336.