Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1284: Improper Validation of Specified Quantity in Input

Base Incomplete

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

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-1284

417 results · Feed

  • Medium 6.5

    IBM Db2 Denial of Service

    IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) could allow a user to cause a denial of service due to insufficient validation of special elements in data query logic.

  • Medium 5.3

    IBM Db2 Denial of Service

    IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 11.5.0 - 11.5.9 and 12.1.0 - 12.1.3 could allow an authenticated user to cause a denial of service due to improper neutralization of special elements in data query logic when the RPSCAN feature…

  • High 7.5

    React Server Components have multiple Denial of Service Vulnerabilities

    Multiple denial of service vulnerabilities exist in React Server Components, affecting the following packages: react-server-dom-parcel, react-server-dom-turbopack, react-server-dom-webpack. The vulnerabilities are triggered by sending specially crafted HTTP r…

  • Low 2.7

    Tanium addressed an improper input validation vulnerability in Discover.

    Tanium addressed an improper input validation vulnerability in Discover.

  • High 7.1

    Rockwell Automation CompactLogix® 5370 Denial of Service Vulnerability

    A denial-of-service security issue in the affected product. The security issue occurs when a malformed CIP forward open message is sent. This could result in a major nonrecoverable fault a restart is required to recover.

  • High 7.5

    Sandboxie 5.49.7 - Denial of Service

    Sandboxie 5.49.7 contains a denial of service vulnerability that allows attackers to crash the application by overflowing the container folder input field. Attackers can paste a large buffer of repeated characters into the Sandbox container folder setting to …

  • High 7.5

    WebSSH for iOS 14.16.10 - 'mashREPL' Denial of Service

    WebSSH for iOS 14.16.10 contains a denial of service vulnerability in the mashREPL tool that allows attackers to crash the application by pasting malformed input. Attackers can trigger the vulnerability by copying a 300-character buffer of repeated 'A' charac…

  • High 7.5

    iDailyDiary 4.30 - Denial of Service (PoC)

    iDailyDiary 4.30 contains a denial of service vulnerability that allows attackers to crash the application by overflowing the preferences tab name field. Attackers can paste a 2,000,000 character buffer into the default diary tab name to trigger an applicatio…

  • High 7.5

    RarmaRadio 2.72.8 - Denial of Service

    RarmaRadio 2.72.8 contains a denial of service vulnerability that allows attackers to crash the application by overflowing network configuration fields with large character buffers. Attackers can generate a 100,000 character buffer and paste it into multiple …

  • High 7.5

    DupTerminator 1.4.5639.37199 - Denial of Service

    DupTerminator 1.4.5639.37199 contains a denial of service vulnerability that allows attackers to crash the application by inputting a long character string in the Excluded text box. Attackers can generate a payload of 8000 repeated characters to trigger the a…

  • Critical 9.1

    Sysax Multi Server 6.95 - 'Password' Denial of Service (PoC)

    Sysax Multi Server 6.95 contains a denial of service vulnerability in the administrative password field that allows attackers to crash the application. Attackers can overwrite the password field with 800 bytes of repeated characters to trigger an application …

  • High 8.8

    iccDEV Undefined Behavior (UB) and Out of Memory in CIccProfile::LoadTag()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below are prone to have Undefined Behavior (UB) and Out of Memory errors. This issue is fixed in version 2.3.1.2.

  • Medium 5.3

    Silicon Labs Z-Wave Protocol Controller Integer underflow vulnerability leads to out of bounds read

    An integer underflow vulnerability in the Silicon Labs Z-Wave Protocol Controller can lead to out of bounds memory reads.

  • High 7.5

    WordPress Booking Package plugin <= 1.6.27 - Price Manipulation vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in SaasProject Booking Package allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Booking Package: from n/a through 1.6.27.

  • High 7.1

    PocketMine-MP < 4.18.1 Improper Validation of Dropped Item Count Allows Remote Server Crash

    PocketMine-MP versions prior to 4.18.1 contain an improper input validation vulnerability in inventory transaction handling. A remote attacker with a valid player session can request that the server drop more items than are available in the player's hotbar, t…

  • Medium 6.5

    Filebeat Improper Validation of Specified Index, Position, or Offset in Input

    Improper Validation of Specified Index, Position, or Offset in Input (CWE-1285) in Filebeat Syslog parser and the Libbeat Dissect processor can allow a user to trigger a Buffer Overflow (CAPEC-100) and cause a denial of service (panic/crash) of the Filebeat p…

  • Medium 5.3

    openrsync through 0.5.0, as used in OpenBSD through 7.8 and on other platforms, allows a client to cause a server SIGSE…

  • Medium 6.5

    IBM Controller Denial of Service

    IBM Controller 11.1.0 through 11.1.1 and IBM Cognos Controller 11.0.0 through 11.0.1 FP6 could allow an authenticated user to cause a denial of service due to improper validation of a specified quantity size input.

  • Critical 9.1

    NUT-14 allows cashu tokens to be created with a preimage hash. However, nutshell (cashubtc/nuts) before 0.18.0 do not v…

  • High 8.7

    Improper validation of <img> tag size in Text component parser

    Allocation of Resources Without Limits or Throttling, Improper Validation of Specified Quantity in Input vulnerability in The Qt Company Qt on Windows, MacOS, Linux, iOS, Android, x86, ARM, 64 bit, 32 bit allows Excessive Allocation. This issue affects users …

  • High 7.5

    NVIDIA Triton Server for Linux contains a vulnerability where an attacker may cause an improper validation of specified…

  • Medium 6.7

    In KDE Krita before 5.2.13, loading a manipulated TGA file could result in a heap-based buffer overflow in plugins/impe…

  • Medium 6.5

    Time-series operations may cause internal BSON size limit to be exceed

    Inconsistent object size validation in time series processing logic may result in later processing of oversized BSON documents leading to an assert failing and process termination. This issue impacts MongoDB Server v7.0 versions prior to 7.0.26, v8.0 versions…

  • Low 1.0

    The Secure Flag passed to Versal™ Adaptive SoC’s Trusted Firmware for Cortex®-A processors (TF-A) for Arm’s Power State…

  • High 8.6
    CVE-2025-48507 Public exploit

    The security state of the calling processor into Trusted Firmware (TF-A) is not used and could potentially allow non-se…

  • Medium 6.9
    CVE-2025-9316 Public exploit Scanner template EPSS 37%

    N-central unauthenticated sessionID generation

    N-central < 2025.4 can generate sessionIDs for unauthenticated users This issue affects N-central: before 2025.4.

  • Medium 5.3

    Denial-of-Service(DoS) Vulnerability in TCP Communication Function on MELSEC iQ-F Series CPU module

    Improper Validation of Specified Quantity in Input vulnerability in TCP Communication Function on Mitsubishi Electric Corporation MELSEC iQ-F Series CPU module allows a remote attacker to disconnect the connection by sending specially crafted TCP packets to c…

  • Medium 6.5

    IBM Business Automation Insights improper input validation

    IBM Cloud Pak For Business Automation 25.0.0, 24.0.1, and 24.0.0 could allow an authenticated user to cause a denial of service due to the improper validation of input length.

  • Medium 4.4

    Luksmeta: data corruption when handling luks1 partitions with luksmeta

    A data corruption vulnerability has been identified in the luksmeta utility when used with the LUKS1 disk encryption format. An attacker with the necessary permissions can exploit this flaw by writing a large amount of metadata to an encrypted device. The uti…

  • High 7.5

    BIG-IP Advanced WAF and ASM bd process vulnerability

    When a BIG-IP Advanced WAF or ASM security policy is configured with a URL greater than 1024 characters in length for the Data Guard Protection Enforcement setting, either manually or through the automatic Policy Builder, the bd process can terminate repeated…

  • Medium 5.3

    ywxbear PHP-Bookstore-Website-Example Quantity index.php improper validation of specified quantity in input

    A vulnerability has been found in ywxbear PHP-Bookstore-Website-Example and PHP Basic BookStore Website up to 0e0b9f542f7a2d90a8d7f8c83caca69294e234e4. This issue affects some unknown processing of the file /index.php of the component Quantity Handler. Such m…

  • Medium 6.6

    In AMD Zynq UltraScale+ devices, the lack of address validation when executing CSU runtime services through the PMU Fir…

  • Medium 6.9

    Liferay Portal has Improper Validation of Specified Quantity in Input

    Liferay Portal 7.4.0 through 7.4.3.105, and older unsupported versions, and Liferay DXP 2023.Q4.0, 2023.Q3.1 through 2023.Q3.4, 7.4 GA through update 92, 7.3 GA through update 35, and older unsupported versions may incorrectly identify the subdomain of a doma…

  • High 7.5

    Improper Validation of Specified Quantity in Input in GitLab

    An issue has been discovered in GitLab CE/EE affecting all versions from 7.12 before 18.1.6, 18.2 before 18.2.6, and 18.3 before 18.3.2 that could have allowed unauthorized users to render the GitLab instance unresponsive to legitimate users by sending multip…

  • Medium 6.5

    Improper Validation of Specified Quantity in Input in GitLab

    An issue has been discovered in GitLab CE/EE affecting all versions from 10.7 before 18.1.6, 18.2 before 18.2.6, and 18.3 before 18.3.2 that could have allowed authenticated users to disrupt access to token listings and related administrative operations by cr…

  • High 7.5

    WordPress Download Manager and Payment Form plugin <= 2.8.2 - Price Manipulation vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in Convers Lab WP SmartPay smartpay.This issue affects WP SmartPay: from n/a through <= 2.8.2.

  • Medium 6.0

    Improper input validation in AMD Power Management Firmware (PMFW) could allow a privileged attacker from Guest VM to se…

  • Medium 5.3

    WordPress Bonus for Woo plugin <= 7.6.6 - Other vulnerability Type vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in calliko Bonus for Woo bonus-for-woo allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Bonus for Woo: from n/a through <= 7.6.6.

  • High 7.3

    Authentication Bypass vulnerability discovered in the OpenText™ Self-Service Password Reset

    Improper Input Validation vulnerability in OpenText Self Service Password Reset allows Authentication Bypass.This issue affects Self Service Password Reset from before 4.8 patch 3.

  • High 8.7

    Improper access control on the NetScaler Management Interface

    Improper access control on the NetScaler Management Interface in NetScaler ADC and NetScaler Gateway when an attacker can get access to the appliance NSIP, Cluster Management IP or local GSLB Site IP or SNIP with Management Access