{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31901 exists.","fix":"No fix has been published for CVE-2022-31901 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31901 is a medium-severity memory corruption vulnerability in n/a, published on 19 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-31901 and fix it if it is affected.\n\nWhat it is: CVE-2022-31901 is a medium-severity memory corruption vulnerability in n/a, published on 19 Jan 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31901 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-31901/ (Markdown: https://insights.sbomify.com/CVE-2022-31901/index.md)","id":"CVE-2022-31901","markdown":"https://insights.sbomify.com/CVE-2022-31901/index.md","name":"CVE-2022-31901","record":{"aliases":["GHSA-v6qv-5wc9-pq33"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Notepad++ text editor","requires_auth":"none","summary":"Attackers can crash Notepad++ by opening two crafted files due to a buffer overflow in the hotspot addition function.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"notepad\\+\\+","vendor":"notepad-plus-plus"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Buffer overflow in function Notepad_plus::addHotSpot in Notepad++ v8.4.3 and earlier allows attackers to crash the application via two crafted files.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-07-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-07-11T09:47:16Z","kind":"github_poc","ref":"https://github.com/CDACesec/CVE-2022-31901","stars":0,"title":null}],"tier":"weaponised"},"has_fix":false,"headline":"Memory corruption in n/a","id":"CVE-2022-31901","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2022-31902"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2022-31898"},"products":["n/a"],"published":"2023-01-19","related":[{"cvss_score":7.7,"headline":"Notepad++ Download of Code Without Integrity Check","id":"CVE-2025-15556","kev_date_added":"2026-02-12","published":"2026-02-03"},{"cvss_score":7.8,"headline":"Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter","id":"CVE-2026-48778","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.8,"headline":"Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection","id":"CVE-2026-48800","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.8,"headline":"Notepad++: CVE-2026-48800 Bypass","id":"CVE-2026-52884","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2023-47452","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":7.8,"headline":"Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert","id":"CVE-2023-40031","kev_date_added":null,"published":"2023-08-25"},{"cvss_score":7.8,"headline":"notepad-plus-plus - DLL Hijacking","id":"CVE-2022-32168","kev_date_added":null,"published":"2022-09-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-04","vendors":["n/a"]},"summary":"Attackers can crash Notepad++ by opening two crafted files due to a buffer overflow in the hotspot addition function.","url":"https://insights.sbomify.com/CVE-2022-31901/"}