cve.bz

CWE-1335: Incorrect Bitwise Shift of Integer, published in 2026

Filter

An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.

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

Ask an AI about CWE-1335

Show the promptExplain CWE-1335: Incorrect Bitwise Shift of Integer and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1335.html and https://cve.bz/cve/cwe/1335?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. 8.7CVE-2026-93925apache software foundation apache thriftEPSS 0.5%

    Stack-based buffer overflow, Incorrect bitwise shift of integer vulnerability in Apache Thrift C++ THeaderProtocol. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the …

  2. 7.5CVE-2026-88357EPSS 0.7%

    nDPI 5.1.0 contains a memory access issue in the DNS dissector and serializer deserialization code. Specially crafted network input can cause byte-buffer addresses at odd offsets to be cast to uint16_t or wider integer pointers and directl…

  3. 6.5CVE-2026-5072zephyrproject zephyrEPSS 0.3%

    A bitwise shift vulnerability in Zephyr's PTP subsystem allows a remote attacker to cause undefined behavior and potential system crashes. An attacker sends a crafted PTP_MSG_MANAGEMENT message to set an unvalidated negative log_announce_i…

  4. 6.5CVE-2026-4426EPSS 0.7%

    A flaw was found in libarchive. An Undefined Behavior vulnerability exists in the zisofs decompression logic, caused by improper validation of a field (`pz_log2_bs`) read from ISO9660 Rock Ridge extensions. A remote attacker can exploit th…