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

14 results · Clear filters · Feed

  • Medium 4.3
    CVE-2026-107079 Public exploit

    An issue in Systrome Validation & Certification 1.0 allows an attacker to cause a denial of service via the t URL param…

  • High 7.5
    CVE-2026-53587 Public exploit

    libgit2 - Unauthenticated network-reachable heap out-of-bounds read in transports/smart_pkt.c:set_data

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, libgit2 performs a fixed-size strncmp in set_data in src/libgi…

  • High 8.1
    CVE-2026-66374 Public exploit

    Knot Resolver before 6.4.1 allows remote code execution via a heap-based buffer overflow in the DoQ (DNS-over-QUIC) rec…

  • Low 2.9
    CVE-2026-57062 Public exploit

    CMS (Cryptographic Message Syntax) parsing in gpgsm in GnuPG through 2.5.20 mishandles the CMS format for AES-GCM becau…

  • Critical 10.0
    CVE-2026-49777 Public exploit

    WordPress Product Slider Pro for WooCommerce plugin < 3.5.4 - Backdoor vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in ShapedPlugin, LLC Product Slider Pro for WooCommerce allows Malicious Software Implanted. This issue affects Product Slider Pro for WooCommerce: from n/a before 3.5.4.

  • Medium 4.3
    CVE-2026-41285 Public exploit

    In OpenBSD through 7.8, the slaacd and rad daemons have an infinite loop when they receive a crafted ICMPv6 Neighbor Di…

  • 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 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.

  • High 8.7
    CVE-2025-5349 Public exploit

    NetScaler ADC and NetScaler Gateway - Improper access control on the NetScaler Management Interface

    Improper access control on the NetScaler Management Interface in NetScaler ADC and NetScaler Gateway

  • Medium 6.8
    CVE-2024-6768 Public exploit

    Denial of Service in CLFS.sys

    A Denial of Service in CLFS.sys in Microsoft Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, and Windows Server 2022 allows a malicious authenticated low-privilege user to cause a Blue Screen of Death via a forced call to the KeBugCheckEx fu…

  • High 7.3
    CVE-2023-38709 Public exploit

    Apache HTTP Server: HTTP response splitting

    Faulty input validation in the core of Apache allows malicious or exploitable backend/content generators to split HTTP responses. This issue affects Apache HTTP Server: through 2.4.58.

  • High 7.8
    CVE-2022-20493 Public exploit

    In Condition of Condition.java, there is a possible way to grant notification access due to improper input validation. …

  • Medium 6.5
    CVE-2022-31629 Public exploit EPSS 50%

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

  • Critical 9.8
    CVE-2009-4488 Public exploit EPSS 13%

    Varnish 2.0.6 writes data to a log file without sanitizing non-printable characters, which might allow remote attackers…