CWE-197: Numeric Truncation Error, published in 2026, page 2
Filter
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
What the weakness is: CWE-197 at MITRE. All weaknesses
Ask an AI about CWE-197
Show the prompt
Explain CWE-197: Numeric Truncation Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/197.html and https://cve.bz/cve/cwe/197?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
- 5.5CVE-2026-68895microsoftEPSS 0.4%
Numeric truncation error in Internet Storage Name Service allows an authorized attacker to disclose information locally.
- 8.0CVE-2026-68880microsoftEPSS 0.8%
Heap-based buffer overflow in Windows Win32K allows an authorized attacker to elevate privileges over a network.
- 6.2CVE-2026-86315samsung opensource escargotEPSS 0.2%
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…
- 4.0CVE-2026-80213ruby resolvEPSS 0.3%
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 had its length stored modulo 256 but the…
- 5.3CVE-2026-77014EPSS 0.2%
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 I…
- 2.4CVE-2026-65610EPSS 0.2%
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 length that is truncated to 0. The express…
- 8.7CVE-2026-73523covesa open1722EPSS 0.5%
COVESA Open1722 through 0.9.2 contains an integer truncation vulnerability in acf-can-listener.c that allows unauthenticated remote attackers to cause the CAN listener to transmit process stack memory onto the CAN bus by sending a rejected…
- 2.0CVE-2026-49263capstone-engine capstoneEPSS 0.2%
Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9, Capstone's WebAssembly backend accepts attacker-controlled raw WASM instruction bytes through the public `cs_disasm()` and `cs_disasm_iter()` APIs. For a large but well-fo…
- 7.8CVE-2026-68804microsoftEPSS 0.5%
Numeric truncation error in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
- 6.7CVE-2026-65798microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 6.7CVE-2026-65797microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 6.7CVE-2026-65795microsoftEPSS 0.3%
Relative path traversal in Windows DNS allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-63525microsoftEPSS 0.5%
Numeric truncation error in Microsoft Office Word allows an unauthorized attacker to execute code locally.
- 6.7CVE-2026-62883microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 6.7CVE-2026-62881microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 6.7CVE-2026-62769microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62739microsoftEPSS 0.3%
Heap-based buffer overflow in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62698microsoftEPSS 0.3%
Numeric truncation error in Microsoft Digest Authentication allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-56650microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Network File System allows an authorized attacker to elevate privileges locally.
- 5.5CVE-2026-55142microsoftEPSS 0.6%
Numeric truncation error in Microsoft Office Word allows an unauthorized attacker to disclose information locally.
- 7.8CVE-2026-50357microsoftEPSS 0.3%
Numeric truncation error in Windows Resilient File System (ReFS) allows an authorized attacker to execute code locally.
- 7.8CVE-2026-50332microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Kernel allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-49792microsoftEPSS 0.3%
Numeric truncation error in Windows Resilient File System (ReFS) allows an authorized attacker to execute code locally.
- 8.8CVE-2026-6679wolfsslEPSS 0.5%
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…
- 5.4CVE-2026-6039the document foundation libreofficeEPSS 0.2%
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, whil…
- 7.8CVE-2026-44823microsoftEPSS 0.4%
Numeric truncation error in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
- 7.8CVE-2026-40409microsoftEPSS 0.3%
Numeric truncation error in Windows Universal Disk Format File System Driver (UDFS) allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-40404microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Universal Disk Format File System Driver (UDFS) allows an authorized attacker to elevate privileges locally.
- 8.7CVE-2026-42944nlnetlabs unboundEPSS 0.8%
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'…
- 6.2CVE-2026-40380microsoftEPSS 0.5%
Heap-based buffer overflow in Volume Manager Extension Driver allows an authorized attacker to execute code with a physical attack.
- 5.3CVE-2026-44927uriparser project uriparserEPSS 0.2%
In uriparser before 1.0.2, there is pointer difference truncation to int in various places.
- 5.1CVE-2026-42371uriparser project uriparserEPSS 0.2%
uriparser before 1.0.1 has numeric truncation in text range comparison, if an application accepts URIs with a length in gigabytes.
- 6.3CVE-2026-32240capnprotoEPSS 0.2%
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, t…