{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.poi:poi-scratchpad. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-26336 in the wild and no public exploit code.","fix":"Upgrade org.apache.poi:poi-scratchpad to 5.2.1 or later.","what":"CVE-2022-26336 is a medium-severity denial of service vulnerability in Netapp Active Iq Unified Manager, published on 4 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-26336 and fix it if it is affected.\n\nWhat it is: CVE-2022-26336 is a medium-severity denial of service vulnerability in Netapp Active Iq Unified Manager, published on 4 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-26336 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.poi:poi-scratchpad (Maven): affected from 3.8-beta1; fixed in 5.2.1\n- org.apache.poi:poi-scratchpad (Maven): affected from 3.8-beta1; fixed in 5.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-26336/ (Markdown: https://insights.sbomify.com/CVE-2022-26336/index.md)","id":"CVE-2022-26336","markdown":"https://insights.sbomify.com/CVE-2022-26336/index.md","name":"CVE-2022-26336","record":{"aliases":["CLSA-2026-1780534250","GHSA-mqvp-7rrg-9jxc","UBUNTU-CVE-2022-26336"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java Office library","requires_auth":"none","summary":"Attackers can cause an out-of-memory denial of service by supplying crafted TNEF files to applications using the Apache POI scratchpad library.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"poi","vendor":"apache"},{"product":"active_iq_unified_manager","vendor":"netapp"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"A carefully crafted TNEF file can cause an out of memory exception","id":"CVE-2022-26336","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager"],"type":"denial_of_service","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Path traversal in Trend Micro Password Manager","id":"CVE-2022-26337"},"packages":[{"ecosystem":"Maven","fixed":["5.2.1"],"introduced":["3.8-beta1"],"last_affected":[],"package":"org.apache.poi:poi-scratchpad","purl":null,"source":"GHSA-mqvp-7rrg-9jxc"},{"ecosystem":"Maven","fixed":["5.2.1"],"introduced":["3.8-beta1"],"last_affected":[],"package":"org.apache.poi:poi-scratchpad","purl":"pkg:maven/org.apache.poi/poi-scratchpad","source":"GHSA-mqvp-7rrg-9jxc"}],"prev":{"headline":"Memory corruption in SCALANCE X302-7 EEC (230V)","id":"CVE-2022-26335"},"products":["poi-scratchpad"],"published":"2022-03-04","related":[{"cvss_score":7.5,"headline":"Denial of Service in Apache POI","id":"CVE-2017-12626","kev_date_added":null,"published":"2018-01-29"},{"cvss_score":5.5,"headline":"Improper Restriction of XML External Entity Reference in Apache POI","id":"CVE-2019-12415","kev_date_added":null,"published":"2019-10-23"},{"cvss_score":5.5,"headline":"Improper Restriction of Recursive Entity References in DTDs in Apache POI","id":"CVE-2017-5644","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":5.5,"headline":"Apache POI's XLSX2CSV Example XML External Entity (XXE) Vulnerability","id":"CVE-2016-5000","kev_date_added":null,"published":"2016-08-05"},{"cvss_score":5.3,"headline":"Apache POI OOXML Vulnerable to Improper Input Validation in OOXML File Parsing","id":"CVE-2025-31672","kev_date_added":null,"published":"2025-04-09"},{"cvss_score":5,"headline":"Loop with Unreachable Exit Condition in Apache POI","id":"CVE-2014-9527","kev_date_added":null,"published":"2015-01-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"Attackers can cause an out-of-memory denial of service by supplying crafted TNEF files to applications using the Apache POI scratchpad library.","url":"https://insights.sbomify.com/CVE-2022-26336/"}