WaratekVRT Sign in

CVE-2022-26336 Apache poi

Affected softwareApache poi
Severity5.5 Medium CVSS 3.1 2 scores
Fixed in5.2.1
WeaknessImproper input validation (CWE-20)
Published4 Mar 2022
Updated17 Jun 2026

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.

CWE-770

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Protected by Waratek.

How to mitigate CVE-2022-26336

Upgrade Apache poi to 5.2.1 or later. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.5 MEDIUM v3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.5 MEDIUM CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2023 ↗ CPU 2023-Q1 Oracle JD Edwards / Web Runtime SEC (Apache POI) (Prior to 9.2.7.2)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle JD Edwards Web Runtime SEC (Apache POI) Prior to 9.2.7.2

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.poi:poi-scratchpad 3.8-beta1 5.2.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache poi generic < 5.2.1
nvd netapp active iq unified manager generic any version
osv org.apache.poi poi-scratchpad generic ≥ 3.8 and < 5.2.1

References

URLTags
https://lists.apache.org/thread/sprg0kq986pc2271dc3v2oxb1f9qx09j WEB
https://security.netapp.com/advisory/ntap-20221028-0006 WEB
https://security.netapp.com/advisory/ntap-20221028-0006/ Third Party Advisory

Timeline

Published2022-03-04By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.