Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1287: Improper Validation of Specified Type of Input

Base Incomplete

The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.

How to prevent it (1 mitigation)
  1. Implementation

    Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

    When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."

    Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

Source: MITRE CWE-1287

81 results · Clear filters · Feed

  • Medium 6.2

    Vulnerabilities in the QNX io-char library Impacts QNX Software Development Platform

    Improper Input Validation in the io-char library's DCMD_CHR_TCINJECTC devctl() handler could allow an attacker with local access to cause data tampering in the memory input buffer of the Character I/O device driver.

  • Medium 5.3

    IBM Safer Payments could allow an authenticated user to obtain sensitive information

    IBM Safer Payments 6.4.0.00 through 6.4.2.11, 6.5.0.00 through 6.5.0.09, 6.6.0.00 through 6.6.0.07, 6.7.0.00 through 6.7.0.03, and 6.8.0.00 could allow an authenticated user to obtain sensitive information, caused by improper user input validation. By using a…

  • Medium 5.4

    OpenStack Ironic before 39.0.1 allows DELETE and GET via vendor_passthru, e.g., to delete accounts from the BMC's Redfi…

  • Medium 4.8

    Wasmtime 47.0.0 before 48.0.4 and 49.0.0 before 49.0.2 GC Heap Corruption via Tag Imports

    Wasmtime 47.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains an improper validation vulnerability that accepts components whose core modules import WebAssembly tags with a subtype of the original type. Malicious guests can mis-type exception object payload…

  • Medium 5.9

    CVE-2026-94570

    SGLang contains a DoS vulnerability caused by missing input validation for AUX_DATA ZeroMQ control messages in the Decode worker, which enables an unauthenticated remote attacker with network reachability to the Decode control PULL socket to terminate the Dec…

  • Medium 6.5

    A vulnerability has been identified in WTV676-HB6035 Web Interface (All versions < V3.94), WTV776-HB6035 Web Interface …

  • Medium 4.3

    Open WebUI: Any authenticated user can suppress calendar alerts instance-wide via a non-numeric alert value

    Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.1, backend/open_webui/models/calendar.py stored the calendar event meta.alert_minutes value without type validation and the shared upcoming-event sched…

  • Medium 6.5

    PocketMine-MP before 4.2.9 Denial of Service via NBT Deserialization

    PocketMine-MP versions before 4.2.9 fail to properly validate NBT data types during deserialization of inventory transaction packets from clients. Attackers can send crafted inventory transactions with malformed NBT tags to trigger server crashes and cause de…

  • Medium 6.5

    YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitrary DB read

    YesWiki is a wiki system written in PHP. Prior to version 4.6.6, the recentchanges action (actions/recentchanges.php) accepts a period argument from two disjoint parameter spaces. A whitelist validates only the URL form against ['day','week','month']. The act…

  • Medium 5.9

    github.com/graphql-go/graphql (GraphQL for Go) through 0.8.1 does not validate that a scalar variable value matches its…

  • Medium 6.0

    Cri-o: cri-o: unvalidated image env var causes daemon crash

    A flaw was found in CRI-O's container-creation environment-variable handling (`mergeEnvs` in `server/utils.go`, consumed by `setupContainerEnvironmentAndWorkdir` in `server/container_create.go`). When a `CreateContainer` request supplies a `nil` CRI `Envs` fi…

  • Medium 5.7

    An ACAP configuration file lacks input validation, which could potentially lead to privilege escalation. This vulnerabi…

  • Medium 6.0

    In geniezone, there is a possible escalation of privilege due to a missing permission check. This could lead to local e…

  • Medium 5.5

    Microsoft Word Information Disclosure Vulnerability

    Improper validation of specified type of input in Microsoft Office Word allows an unauthorized attacker to disclose information locally.

  • Medium 6.9

    vLLM: temperature=NaN and temperature=Infinity bypass validation and propagate to GPU kernels

    vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.23.1rc0, ll temperature validation gates use comparison operators (<, >), which silently evaluate to False for NaN and for positive Infinity in Python's IEEE 754 float semant…

  • Medium 6.5

    In Arista’s EOS when in 802.1X mode, multi-auth unauthenticated hosts might be allowed access to a switch port if there exists an EAPOL capable device in the fallback VLAN.

    In Arista’s EOS when in 802.1X mode, multi-auth unauthenticated hosts might be allowed access to a switch port if there exists an EAPOL capable device in the fallback VLAN.

  • Medium 4.3

    Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the serialize() function in hono/cookie validates domain and path options against characters that corrupt Set-Cookie header syntax (;, \r, \n), but does no…

  • Medium 4.3

    Insufficient input validation in GitHub plugin API causes denial of service

    Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate user-supplied input in API request handlers which allows an authenticated attacker to crash the plugin process via a crafted HTTP request to the PR …

  • Medium 6.0

    An ACAP configuration file lacked sufficient input validation, which could allow command injection and potentially lead…

  • Medium 6.2

    SpotAuditor 5.2.6 Name Field Denial of Service

    SpotAuditor 5.2.6 contains a denial of service vulnerability in the registration dialog that allows local attackers to crash the application by supplying an excessively long string in the Name field. Attackers can paste a buffer of 300 repeated characters int…

  • Medium 5.8

    DoS in Calls plugin via malformed msgpack in websocket request.

    Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to handle incorrectly reported array lengths which allows malicious user to cause OOM errors and crash the server via sending corrupted msgpack frames within websocket messages t…

  • Medium 4.3

    Denial of service via malformed User-Agent header in getBrowserVersion

    Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to properly validate User-Agent header tokens which allows an authenticated attacker to cause a request panic via a specially crafted User-Agent header. Mattermost Advisory ID: M…

  • Medium 4.3

    PostgreSQL oidvector discloses a few bytes of memory

    Improper validation of type "oidvector" in PostgreSQL allows a database user to disclose a few bytes of server memory. We have not ruled out viability of attacks that arrange for presence of confidential information in disclosed bytes, but they seem unlikely.…

  • Medium 5.3

    Meshtastic firmware allows forged DMs with no PKC to show up as encrypted

    Meshtastic is an open source mesh networking solution. The Meshtastic firmware (starting from version 2.5) introduces asymmetric encryption (PKI) for direct messages, but when the `pki_encrypted` flag is missing, the firmware silently falls back to legacy AES…

  • Medium 6.5

    DoS in Calls plugin via malformed UTF-8 in WebSocket request

    Mattermost versions 11.0.x <= 11.0.4, 10.12.x <= 10.12.2, 10.11.x <= 10.11.6 fail to check WebSocket request field for proper UTF-8 format, which allows attacker to crash Calls plug-in via sending malformed request.

  • Medium 6.5

    JBL: Improper validation of ICM field in connection requests

    An unauthorised attacker within bluetooth range may use an improper validation during the BLE connection request to deadlock the affected devices.

  • Medium 4.3

    In KDE Connect before 1.33.0 on Android, malicious device IDs (sent via broadcast UDP) could cause an application crash.

  • Medium 6.5
  • Medium 6.5

    Free5GC is vulnerable to DoS via the Nudm_SubscriberDataManagement API

    An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via the Nudm_SubscriberDataManagement API.

  • Medium 4.3

    The VAPIX API port.cgi did not have sufficient input validation, which may result in process crashes and impact usabili…

  • Medium 6.7

    An ACAP configuration file has improper permissions and lacks input validation, which could potentially lead to privile…

  • Medium 6.7

    ACAP applications can gain elevated privileges due to improper input validation, potentially leading to privilege escal…

  • Medium 6.7

    An ACAP configuration file lacked sufficient input validation, which could allow for arbitrary code execution. This vul…

  • Medium 6.5

    Windows Local Session Manager (LSM) Denial of Service Vulnerability

    Improper validation of specified type of input in Windows Local Session Manager (LSM) allows an authorized attacker to deny service over a network.

  • Medium 6.5

    Windows Local Session Manager (LSM) Denial of Service Vulnerability

    Improper validation of specified type of input in Windows Local Session Manager (LSM) allows an authorized attacker to deny service over a network.

  • Medium 6.5

    Windows Local Session Manager (LSM) Denial of Service Vulnerability

    Improper validation of specified type of input in Windows Local Session Manager (LSM) allows an authorized attacker to deny service over a network.

  • Medium 5.3

    Synapse: Invalid device keys degrade federation functionality

    Synapse is an open source Matrix homeserver implementation. Lack of validation for device keys in Synapse before 1.138.3 and in Synapse 1.139.0 allow an attacker registered on the victim homeserver to degrade federation functionality, unpredictably breaking o…

  • Medium 4.9

    Nil pointer dereference in bulk import crashes server

    Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.10.x <= 10.10.0, 10.9.x <= 10.9.3 fail to validate import data which allows a system admin to crash the server via the bulk import feature.

  • Medium 6.7

    An ACAP configuration file lacked sufficient input validation, which could allow for arbitrary code execution. This vul…

  • Medium 6.2

    IBM SmartCloud Analytics - Log Analysis denial of service

    IBM SmartCloud Analytics - Log Analysis 1.3.7.0, 1.3.7.1, 1.3.7.2, 1.3.8.0, 1.3.8.1, and 1.3.8.2 could allow a local user to cause a denial of service due to improper validation of specified type of input.