Vulnerability · Published Mar 4, 2022 · Assigned by apache

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

Medium 5.5

In plain English

A medium-severity resource allocation without limits in poi-scratchpad from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.5%top 25.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.poi:poi-scratchpad5.2.1GHSA-mqvp-7rrg-9jxc
Ubuntu:22.04:LTSlibapache-poi-javano fix listedUBUNTU-CVE-2022-26336
Ubuntu:24.04:LTSlibapache-poi-javano fix listedUBUNTU-CVE-2022-26336
Ubuntu:25.10libapache-poi-javano fix listedUBUNTU-CVE-2022-26336
Ubuntu:26.04:LTSlibapache-poi-javano fix listedUBUNTU-CVE-2022-26336
Ubuntu:26.10libapache-poi-javano fix listedUBUNTU-CVE-2022-26336
Ubuntu:22.04:LTSlucene-solrno fix listedUBUNTU-CVE-2022-26336
Ubuntu:24.04:LTSlucene-solrno fix listedUBUNTU-CVE-2022-26336
Ubuntu:25.10lucene-solrno fix listedUBUNTU-CVE-2022-26336
Ubuntu:26.04:LTSlucene-solrno fix listedUBUNTU-CVE-2022-26336
Ubuntu:26.10lucene-solrno fix listedUBUNTU-CVE-2022-26336

Affected products (as reported)

VendorProductVersions
Apache Software Foundation poi-scratchpad unspecified – through 5.2.0

Weakness: CWE-770, CWE-20

References