CVEfocus › CVE database › CVE-2022-26336

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

CVSS 5.5 MediumEPSS 1.4% (higher than 73% of CVEs)Published 2022-03-04Updated 2024-08-03Assigner: apache

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.

CWE-20CWE-770

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

1Fixed
4Fix pending
6Under investigation
8Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libapache-poi-javaFix pendingUBUNTU-CVE-2022-26336
Ubuntu 26.10lucene-solrFix pendingUBUNTU-CVE-2022-26336
Ubuntu 26.04libapache-poi-javaUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 26.04lucene-solrUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 25.10libapache-poi-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 25.10lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 24.04libapache-poi-javaUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 24.04lucene-solrUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 22.04libapache-poi-javaUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 22.04lucene-solrUnder investigationUBUNTU-CVE-2022-26336
Ubuntu 20.04libapache-poi-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 20.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 18.04libapache-poi-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 18.04lucene-solrFix pendingUBUNTU-CVE-2022-26336
Ubuntu 16.04libapache-poi-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 16.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-26336
Ubuntu 14.04libapache-poi-javaWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 14.04lucene-solrFix pendingUBUNTU-CVE-2022-26336
Maven libraryorg.apache.poi:poi-scratchpadFixed5.2.1GHSA-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.

References

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.