Vulnerabilities

CWE-197: Numeric Truncation Error

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

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

Definition as published by MITRE, in English.

77 vulnerabilities in the service point to this weakness

  1. CVE-2026-80213 Medium 4.0

    An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::MessageEncoder wrote a DNS label's length into a single octet without checking its range. A label longer than 255 octets …

  2. CVE-2026-65610 Low 2.4

    nnn stores homelen variable as uchar_t, which can only represent values in the range 0-255. An attacker who can influence the victim's execution environment can provide an arbitrary HOME path with le…