Medium

Improper Input Validation and Allocation of Resources Without Limits or Throttling in poi-scratchpad

  • Disclosed: 05.03.2022
  • Updated: 11.10.2026 12:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.poi:poi-scratchpad >= 3.8-beta1, < 5.2.1 5.2.1

References

CVSS score 5.5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-20, CWE-770
Platform
Java / Kotlin (Maven)
Package
org.apache.poi:poi-scratchpad
Disclosed
05.03.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-mqvp-7rrg-9jxc - CC BY 4.0

Vulnerability history: org.apache.poi:poi-scratchpad

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
03.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium CVE-2012-0213 < 3.10-beta1 3.10-beta1
  2. Improper Input Validation and Allocation of Resources Without Limits or Throttling in poi-scratchpad this entry
    Medium · 5.5 CVE-2022-26336 >= 3.8-beta1, < 5.2.1 5.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.