CWE-1335: Incorrect Bitwise Shift of Integer

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.

8 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-1335 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-93925 Apache Thrift: C++ `THeaderTransport::writeVarint32()` stack buffer overflow on a negative protocol id 8.7 high 0.48% 2 Oct 2026
CVE-2026-88357 nDPI 5.1.0 contains a memory access issue in the DNS dissector and serializer deserialization code 7.5 high 0.68% 24 Sep 2026
CVE-2026-5072 ptp: Potential Denial of Service via PTP Interval Shift 6.5 medium 0.32% 22 May 2026
CVE-2026-4426 Libarchive: libarchive: denial of service via malformed iso file processing 6.5 medium 0.67% 19 Mar 2026
CVE-2025-32029 ts-asn1-der has Incorrect DER Encoding of Numbers Leading to Denial of Service and Incorrect Value Representation 6.9 medium 0.36% 7 Apr 2025
CVE-2023-52810 fs/jfs: Add check for negative db_l2nbperpage 7.8 high 0.34% 21 May 2024
CVE-2023-3161 n/a Linux Kernel (fbcon): Incorrect Bitwise Shift of Integer 5.5 medium 0.26% 12 Jun 2023
CVE-2016-9842 The inflateMark function in inflate.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors… 8.8 high 5.20% 23 May 2017