CVE-2022-26336A carefully crafted TNEF file can cause an out of memory exception
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libapache-poi-java | Fix pending | UBUNTU-CVE-2022-26336 | |
| Ubuntu 26.10 | lucene-solr | Fix pending | UBUNTU-CVE-2022-26336 | |
| Ubuntu 26.04 | libapache-poi-java | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 26.04 | lucene-solr | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 25.10 | libapache-poi-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 25.10 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 24.04 | libapache-poi-java | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 24.04 | lucene-solr | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 22.04 | libapache-poi-java | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 22.04 | lucene-solr | Under investigation | UBUNTU-CVE-2022-26336 | |
| Ubuntu 20.04 | libapache-poi-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 20.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 18.04 | libapache-poi-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 18.04 | lucene-solr | Fix pending | UBUNTU-CVE-2022-26336 | |
| Ubuntu 16.04 | libapache-poi-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 16.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-26336 | |
| Ubuntu 14.04 | libapache-poi-java | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | lucene-solr | Fix pending | UBUNTU-CVE-2022-26336 | |
| Maven library | org.apache.poi:poi-scratchpad | Fixed | 5.2.1 | GHSA-mqvp-7rrg-9jxc |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation poi-scratchpad: affected: unspecified to 5.2.0
References
- https://lists.apache.org/thread/sprg0kq986pc2271dc3v2oxb1f9qx09j
- https://security.netapp.com/advisory/ntap-20221028-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.