cve.bz

CWE-641: Improper Restriction of Names for Files and Other Resources, published in 2025

Filter

The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.

What the weakness is: CWE-641 at MITRE. All weaknesses

Ask an AI about CWE-641

Show the promptExplain CWE-641: Improper Restriction of Names for Files and Other Resources and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/641.html and https://cve.bz/cve/cwe/641?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.4CVE-2025-47953microsoftEPSS 0.6%

    Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

  2. 7.8CVE-2025-47173microsoftEPSS 0.8%

    Improper input validation in Microsoft Office allows an unauthorized attacker to execute code locally.

  3. 6.5CVE-2024-47260axis communications ab axis osEPSS 0.8%

    51l3nc3, member of the AXIS OS Bug Bounty Program, has found that the VAPIX API mediaclip.cgi did not have a sufficient input validation allowing for uploading more audio clips then designed resulting in the Axis device running out of memo…

  4. 7.8CVE-2025-21402microsoftEPSS 0.9%

    Microsoft Office OneNote Remote Code Execution Vulnerability

  5. 7.8CVE-2025-21361microsoftEPSS 0.9%

    Microsoft Outlook Remote Code Execution Vulnerability