cve.bz

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

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.9CVE-2022-22219juniperEPSS 0.7%

    Due to the Improper Handling of an Unexpected Data Type in the processing of EVPN routes on Juniper Networks Junos OS and Junos OS Evolved, an attacker in direct control of a BGP client connected to a route reflector, or via a machine in t…

  2. 6.5CVE-2022-39065ikea tradfri gateway e1526 firmwareEPSS 0.4%

    A single malformed IEEE 802.15.4 (Zigbee) frame makes the TRÅDFRI gateway unresponsive, such that connected lighting cannot be controlled with the IKEA Home Smart app and TRÅDFRI remote control. The malformed Zigbee frame is an unauthentic…

  3. 8.1CVE-2022-39064ikea tradfri led1732g11 firmwareEPSS 0.4%

    An attacker sending a single malformed IEEE 802.15.4 (Zigbee) frame makes the TRÅDFRI bulb blink, and if they replay (i.e. resend) the same frame multiple times, the bulb performs a factory reset. This causes the bulb to lose configuration…

  4. 7.5CVE-2022-3029nlnetlabs routinatorEPSS 0.9%

    In NLnet Labs Routinator 0.9.0 up to and including 0.11.2, due to a mistake in error handling, data in RRDP snapshot and delta files that isn’t correctly base 64 encoded is treated as a fatal error and causes Routinator to exit. Worst case…

  5. 7.5CVE-2022-1642apple swiftEPSS 0.7%

    A program using swift-corelibs-foundation is vulnerable to a denial of service attack caused by a potentially malicious source producing a JSON document containing a type mismatch. This vulnerability is caused by the interaction between a …

  6. 8.2CVE-2022-29181EPSS 2.6%

    Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors…

  7. 7.5CVE-2022-20730cisco secure firewall threat defenseEPSS 0.9%

    A vulnerability in the Security Intelligence feed feature of Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to bypass the Security Intelligence DNS feed. This vulnerability is due to incorrect…

  8. 5.5CVE-2022-22193juniperEPSS 0.3%

    An Improper Handling of Unexpected Data Type vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a locally authenticated attacker with low privileges to cause a Denial of Service (DoS…

  9. 7.5CVE-2022-24668apple swiftnio http\/2EPSS 1.0%

    A program using swift-nio-http2 is vulnerable to a denial of service attack caused by a network peer sending ALTSVC or ORIGIN frames. This attack affects all swift-nio-http2 versions from 1.0.0 to 1.19.1. This vulnerability is caused by a …