cve.bz

CWE-241: Improper Handling of Unexpected Data Type, published in 2025

Filter

The product does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z).

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

Related attack patterns (CAPEC): 1
  • CAPEC-48 Passing Local Filenames to Functions That Expect a URL Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-241, as MITRE names them. Credits.

Ask an AI about CWE-241

Show the promptExplain CWE-241: Improper Handling of Unexpected Data Type and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/241.html and https://cve.bz/cve/cwe/241?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. 5.7CVE-2025-66550nextcloud calendarEPSS 0.7%

    Nextcloud Calendar is a calendar app for Nextcloud. Prior to 4.7.17 and 5.2.4, when a malicious user creates a calendar event with a crafted attachment that links to a download link of a file on the same Nextcloud server, the file would be…

  2. 5.0CVE-2024-21935EPSS 0.4%

    Improper input validation in Satellite Management Controller (SMC) may allow an attacker with privileges to manipulate Redfish® API commands to remove files from the local root directory, potentially resulting in data corruption.

  3. 5.0CVE-2024-21927EPSS 0.5%

    Improper input validation in Satellite Management Controller (SMC) may allow an attacker with privileges to use certain special characters in manipulated Redfish® API commands, causing service processes like OpenBMC to crash and reset, pot…

  4. 3.4CVE-2025-7339jshttp on-headersEPSS 0.3%

    on-headers is a node.js middleware for listening to when a response writes headers. A bug in on-headers versions `<1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()`. Users …

  5. 6.9CVE-2025-2268hpEPSS 0.9%

    The HP LaserJet MFP M232-M237 Printer Series may be vulnerable to a denial of service attack when a specially crafted request message is sent via Internet Printing Protocol (IPP).

  6. 6.9CVE-2025-1004hpEPSS 0.9%

    Certain HP LaserJet Pro printers may potentially experience a denial of service when a user sends a raw JPEG file to the printer via IPP (Internet Printing Protocol).