VYPR

CWE-197

Numeric Truncation Error

BaseIncompleteLikelihood: Low

Description

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

When a primitive is cast to a smaller primitive, the high order bits of the large value are lost in the conversion, potentially resulting in an unexpected value that is not equal to the original value. This value may be required as an index into a buffer, a loop iterator, or simply necessary state data. In any case, the value cannot be trusted and the system will be in an undefined state. While this method may be employed viably to isolate the low bits of a value, this usage is rare, and truncation usually implies that an implementation error has occurred.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (93)

page 4 of 5
  • CVE-2026-65795MedAug 11, 2026
    risk 0.44cvss 6.7epss 0.00

    Relative path traversal in Windows DNS allows an authorized attacker to elevate privileges locally.

  • CVE-2026-62883MedAug 11, 2026
    risk 0.44cvss 6.7epss 0.00

    Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.

  • CVE-2026-62881MedAug 11, 2026
    risk 0.44cvss 6.7epss 0.00

    Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.

  • CVE-2026-62769MedAug 11, 2026
    risk 0.44cvss 6.7epss 0.00

    Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.

  • CVE-2024-21429MedMar 12, 2024
    risk 0.44cvss 6.8epss 0.01

    Windows USB Hub Driver Remote Code Execution Vulnerability

  • CVE-2026-102043MedOct 14, 2026
    risk 0.42cvss 6.5epss 0.00

    A Numeric Truncation Error vulnerability in the rpd process of Juniper Networks Junos OS and Junos OS Evolved allows an adjacent attacker to crash the routing process via MPLS-TE fast-reroute signaling.

  • CVE-2026-6679HigJun 25, 2026
    risk 0.42cvss 7.5epss 0.01

    A heap buffer overflow could occur in the DTLS 1.3 ACK serialization path before the connecting peer is authenticated. The buffer overflow was due to an integer truncation when computing the length of the ACK record-number list, causing an undersized buffer to be allocated and…

  • CVE-2026-42944HigMay 20, 2026
    risk 0.42cvss 7.5epss 0.01

    NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses'…

  • CVE-2024-38086MedJul 9, 2024
    risk 0.42cvss 6.4epss 0.01

    Azure Kinect SDK Remote Code Execution Vulnerability

  • CVE-2023-36641MedNov 14, 2023
    risk 0.42cvss 6.5epss 0.01

    A numeric truncation error vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, FortiOS 7.0.0 through 7.0.12, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiProxy 7.2.0 through 7.2.4, FortiProxy 7.0.0 through 7.0.10,…

  • CVE-2026-40380MedMay 12, 2026
    risk 0.40cvss 6.2epss 0.00

    Heap-based buffer overflow in Volume Manager Extension Driver allows an authorized attacker to execute code with a physical attack.

  • CVE-2026-68895MedSep 8, 2026
    risk 0.36cvss 5.5epss 0.00

    Numeric truncation error in Internet Storage Name Service allows an authorized attacker to disclose information locally.

  • CVE-2024-21377MedFeb 13, 2024
    risk 0.36cvss 5.5epss 0.01

    Windows DNS Information Disclosure Vulnerability

  • CVE-2022-34680MedDec 30, 2022
    risk 0.36cvss 5.5epss 0.00

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an integer truncation can lead to an out-of-bounds read, which may lead to denial of service.

  • CVE-2026-101085MedSep 27, 2026
    risk 0.35cvss 6.5epss 0.00

    Nezha before 2.3.8 fails to validate alert rule type and duration bounds, allowing authenticated non-administrator users to create malformed rules that trigger unrecovered panics in the alert evaluator goroutine. Attackers can submit a crafted alert rule via the POST…

  • CVE-2026-6039MedJun 15, 2026
    risk 0.35cvss —epss 0.00

    LibreOffice can import drawings in the DXF format used by CAD software. A heap buffer overflow existed when importing a DXF polyline. The point count taken from the file was truncated to a 16-bit value when the point buffer was sized, while the full count was used to fill it, so…

  • CVE-2026-32240MedMar 12, 2026
    risk 0.35cvss 6.5epss 0.00

    Cap'n Proto is a data interchange format and capability-based RPC system. Prior to 1.4.0, when using Transfer-Encoding: chunked, if a chunk's size parsed to a value of 2^64 or larger, it would be truncated to a 64-bit integer. In theory, this bug could enable HTTP…

  • CVE-2026-105768MedOct 5, 2026
    risk 0.34cvss —epss 0.00

    apko allows users to build and publish OCI container images built from apk packages. From version 0.2.0 to before version 1.4.5, UserEntry.Parse and GroupEntry.Parse in pkg/passwd read the UID and GID fields of /etc/passwd and /etc/group entries with strconv.Atoi and convert…

  • CVE-2026-77014MedAug 20, 2026
    risk 0.34cvss 5.3epss 0.00

    A flaw was found in libsoup's SoupServer HTTP Range header processing. The sort_ranges() comparator in soup-message-headers.c truncates a 64-bit subtraction result to 32-bit int, flipping the sign for range offsets differing by more than INT_MAX. This causes silent omission of…

  • CVE-2026-86315MedSep 7, 2026
    risk 0.33cvss 6.2epss 0.00

    An out-of-bounds write caused by numeric truncation Samsung Open Source Escargot on Linux x86-64 allows an attacker who can supply JavaScript for execution to corrupt native memory and crash the host process via a crafted class definition whose instance initialization entry…