CVE-2022-26336
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA shortcoming in the HMEF package of Apache POI's poi-scratchpad library allows specially crafted TNEF (Transport Neutral Encapsulation Format) files to trigger an Out of Memory exception. This is a resource exhaustion vulnerability in the TNEF parser that processes files from untrusted sources.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 5.2.1all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate poi-scratchpad librarySearch for poi-scratchpad JAR files in your application dependencies, build files (Maven pom.xml, Gradle build.gradle), or lib directories. Look for files named poi-scratchpad-*.jarAffected if poi-scratchpad library is present in your environment
-
Identify poi-scratchpad versionCheck the version number in the JAR filename or in your dependency management file (Maven: mvn dependency:list, Gradle: ./gradlew dependencies, or inspect the MANIFEST.MF inside the JAR)Affected if Version is lower than 5.2.1 (for example, 5.2.0, 5.1.0, 4.x.x, etc.)
-
Determine if HMEF/TNEF processing is usedSearch codebase for imports of HMEF classes: org.apache.poi.hmef.* or usage of TNEFAttachment/Attendee classes. Check if your application processes email attachments or calendar files that may contain TNEF contentAffected if Code imports or uses HMEF/TNEF classes from poi-scratchpad to process files from untrusted sources
-
Check for NetApp Active IQ Unified ManagerIf you run NetApp Active IQ Unified Manager, verify the product version via the web UI (Help > About) or command line (um version)Affected if Any version of NetApp Active IQ Unified Manager is running, as all versions are affected
You are affected if poi-scratchpad version is below 5.2.1 AND your application uses the HMEF module to process untrusted TNEF files, or if you run any version of NetApp Active IQ Unified Manager.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.2.1
Upgrade poi-scratchpad to version 5.2.1 or later. Additionally, consider implementing file size limits and memory constraints when processing untrusted TNEF files.
poi-scratchpad 5.2.1
- Identify the build system used in your project (Maven, Gradle, or manual JAR management)
- If using Maven, update the poi-scratchpad dependency version to 5.2.1 in pom.xml: change <version> to 5.2.1
- Run mvn clean compile or mvn clean package to fetch and integrate the updated dependency
- If using Gradle, update the poi-scratchpad dependency to version 5.2.1 in build.gradle
- If using manual JAR management, download poi-scratchpad-5.2.1.jar and its required dependencies from the Apache POI website
- Replace the old poi-scratchpad JAR files in your application's classpath with the new version 5.2.1
- Rebuild and redeploy the application
- Verify the application functions correctly with the new library version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-26336 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-26336 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data