# CVE-2022-26336: A carefully crafted TNEF file can cause an out of memory exception

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-04 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-26336, GHSA-mqvp-7rrg-9jxc
- Record: https://cvemate.com/vulnerability/CVE-2022-26336 · JSON: https://cvemate.com/vulnerability/CVE-2022-26336/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.526%, percentile 75.551%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation poi-scratchpad: ≥ unspecified, ≤ 5.2.0
- apache poi: \< 5.2.1
- ubuntu libapache-poi-java (Ubuntu): All versions (No fix recorded)
- ubuntu lucene-solr (Ubuntu): All versions (No fix recorded)
- org.apache.poi poi-scratchpad (Maven): ≥ 3.8-beta1, \< 5.2.1
- netapp active\_iq\_unified\_manager: na

## References

- <https://lists.apache.org/thread/sprg0kq986pc2271dc3v2oxb1f9qx09j>
- <https://security.netapp.com/advisory/ntap-20221028-0006/>
- <https://ubuntu.com/security/CVE-2022-26336>
- <https://www.cve.org/CVERecord?id=CVE-2022-26336>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26336>
- <https://security.netapp.com/advisory/ntap-20221028-0006>

---

Data as of 2026-12-05T04:03:04.412Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
