CWE-197: Numeric Truncation Error
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
- 8.8CVE-2026-136156valkey
In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or …
- 8.7CVE-2026-135742ffmpeg
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in recv_msg() of the zmq and azmq filters that allows unauthenticated network attackers to corrupt memory by sending oversized command messages. Attackers can send a 4 GiB mes…
- 6.5CVE-2026-134847pgjdbc
pgjdbc, the PostgreSQL JDBC Driver, cuts the weight and scale of a BigDecimal to 16 bits when it sends the value in binary, which is the default. The server then stores a different number without an error. For example 999999.99e-262144 is …
- 7.5CVE-2026-13269quest netvault backupEPSS 0.5%
Quest NetVault Backup StnzCreateKey Numeric Truncation Error Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of Quest NetVault Backup. Authentica…
- 9.6CVE-2026-126254fortinet fortiosEPSS 0.4%
A numeric truncation error vulnerability in Fortinet FortiOS 8.0.0 through 8.0.1, FortiOS 7.6.0 through 7.6.7, FortiOS 7.4.0 through 7.4.12, FortiOS 7.2.0 through 7.2.13 may allow a configured ibgp neighbor to send malicious/malformed attr…
- 2.0CVE-2026-120975arista networks eosEPSS 0.1%
On affected platforms running Arista EOS with automatic certificate management configured and automatic Certificate Authority (CA) certificate retrieval enabled, a malicious packet may cause the AutoCertMgmt process to be terminated unexpe…
- 7.8CVE-2026-88213microsoftEPSS 0.3%
Numeric truncation error in Windows Bluetooth Service allows an authorized attacker to elevate privileges locally.
- 7.1CVE-2026-119988microsoftEPSS 0.6%
Numeric truncation error in Windows SMB allows an authorized attacker to execute code over a network.
- 4.0CVE-2026-119875microsoftEPSS 0.3%
Numeric truncation error in Windows Storport Miniport Driver allows an authorized attacker to disclose information with a physical attack.
- 7.8CVE-2026-112981microsoftEPSS 0.4%
Heap-based buffer overflow in Windows Print Spooler Components allows an authorized attacker to elevate privileges locally.
- 7.0CVE-2026-112765microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Print Spooler Components allows an authorized attacker to elevate privileges locally.
- 5.5CVE-2026-112754microsoftEPSS 0.5%
Out-of-bounds read in Microsoft Graphics Component allows an unauthorized attacker to disclose information locally.
- 5.5CVE-2026-112750microsoftEPSS 0.5%
Numeric truncation error in Windows Overlay Filter allows an authorized attacker to disclose information locally.
- 8.8CVE-2026-112726microsoftEPSS 0.9%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-112722microsoftEPSS 0.9%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-112721microsoftEPSS 0.9%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-111308microsoftEPSS 0.9%
Numeric truncation error in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 6.5CVE-2026-111293microsoftEPSS 1.0%
Buffer over-read in Microsoft Office allows an unauthorized attacker to disclose information over a network.
- 8.8CVE-2026-110064microsoftEPSS 0.9%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 7.3CVE-2026-125213ffmpegEPSS 0.2%
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the PSD decoder in libavcodec/psd.c that allows attackers to corrupt heap memory on 32-bit builds by supplying a crafted PSD image. Attackers can choose dimensions and c…
- 1.7CVE-2026-107479qtEPSS 0.2%
An integer truncation vulnerability in the QTextCodec conversion functions of the Qt 5 Core Compatibility APIs module impacts the Qt Framework. An application using the affected functionality could crash.
- 7.5CVE-2026-117069EPSS 0.6%
An integer truncation vulnerability in the NAS decoder of OpenAirInterface (OAI) CN5G AMF v2.2.1 allows an unauthenticated remote attacker to cause a denial of service (DoS) via crafted NAS Registration Requests containing a malformed IMEI…
- 4.8CVE-2026-116742samtools htslibEPSS 0.2%
HTSlib through 1.24 contains a heap out-of-bounds write and read vulnerability in bgzf_index_load_hfile() in bgzf.c that allows attackers to corrupt heap memory by supplying a crafted .gzi index entry count. A count of 0xFFFFFFFF truncates…
- 2.0CVE-2026-116012nationalsecurityagency ghidraEPSS 0.2%
Ghidra before 12.2 contains a numeric truncation vulnerability in PackedDecode::skipAttribute and skipAttributeRemaining in marshal.cc that stores 64-bit string lengths in 32-bit variables. Attackers can supply a crafted packed stream, suc…
- 9.9CVE-2026-115889bytecodealliance wasmtimeEPSS 0.5%
Wasmtime is a runtime for WebAssembly. Prior to 36.0.19 and 43.0.0, the Cranelift compiler backend bit-packs SSA value indices in a way that can silently overflow in release builds when compiling a sufficiently large or specially crafted W…
- 9.3CVE-2026-109588freertos freertos-kernelEPSS 0.2%
Numeric truncation of the buffer length in the MPU buffer authorization check in FreeRTOS-Kernel V11.3.0 and V11.3.1 on the Arm Cortex-R82 (Armv8-R AArch64) MPU port might allow, under certain conditions, an unprivileged task on MPU-enable…
- 8.8CVE-2026-108451microsoftEPSS 0.6%
Numeric truncation error in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-108450microsoftEPSS 0.6%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 7.0CVE-2026-111105telegramEPSS 0.2%
Telegram rlottie Numeric Truncation Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Telegram. User interaction is required to exploit this vulnerability…
- 8.7CVE-2026-33795juniper networksEPSS 0.4%
A Numeric Truncation Error vulnerability in the rpd process of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker to cause a denial of service via a BGP Prefix-SID route advertisement that is su…
- 7.1CVE-2026-102043juniper networksEPSS 0.3%
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.
- 7.8CVE-2026-96995microsoftEPSS 0.3%
Stack-based buffer overflow in Microsoft Office Word allows an authorized attacker to elevate privileges locally.
- 9.8CVE-2026-96113microsoftEPSS 0.9%
Heap-based buffer overflow in DNS Server allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-85796microsoftEPSS 0.3%
Numeric truncation error in Windows Installer allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-70177microsoftEPSS 0.4%
Numeric truncation error in Microsoft Windows Search Component allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-70123microsoftEPSS 0.3%
Numeric truncation error in Microsoft Graphics Component allows an authorized attacker to elevate privileges locally.
- 8.8CVE-2026-102225microsoftEPSS 0.9%
Out-of-bounds read in Windows Text Shaping allows an unauthorized attacker to execute code over a network.
- 7.0CVE-2026-100201microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Client License Service allows an authorized attacker to elevate privileges locally.
- 6.3CVE-2026-105768chainguard-dev apkoEPSS 0.3%
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 e…
- 7.5CVE-2026-96280red hatEPSS 0.7%
The OCI delta stream parser read sizes as guint64 but passed them to GLib I/O and allocation functions expecting gsize (32 bits on 32-bit systems), causing undersized allocations while subsequent operations use the original 64-bit size, le…
- 7.1CVE-2026-101085nezhahq nezhaEPSS 0.3%
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 cra…
- 5.3CVE-2026-63449oisf suricataEPSS 0.2%
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. From 8.0.0 until 8.0.6, the SIP parser in rust/src/sip/parser.rs stores request and response body lengths in 16-bit field…
- 7.5CVE-2026-19667isc bind 9EPSS 0.6%
If an attacker-controlled authoritative server can produce a negative answer that is exactly 65536 bytes, then a flaw in `named` results in a negative cache entry of 0 bytes. When this entry is subsequently read, `named` aborts. This issue…
- 4.6CVE-2026-76151qtEPSS 0.7%
Out-of-bounds read (buffer over-read) in the HTTP Cache-Control response header parsing in the QtNetwork module in Qt Group Qt 6.0.0 through 6.8.8, and 6.9.0 through 6.11.1, allows remote attackers to cause a denial of service (application…
- 9.6CVE-2026-87529google chromeEPSS 0.5%
Numeric truncation error in Media in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to potentially execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: Medium)
- 8.8CVE-2026-78512microsoftEPSS 0.8%
Numeric truncation error in Microsoft Office Word allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-69822microsoftEPSS 0.3%
Numeric truncation error in Windows Kerberos allows an authorized attacker to elevate privileges locally.
- 7.0CVE-2026-69578microsoftEPSS 0.3%
Numeric truncation error in Windows Kernel allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-69535microsoftEPSS 0.3%
Numeric truncation error in Windows Spaceport.sys allows an authorized attacker to elevate privileges locally.
- 8.8CVE-2026-69512microsoftEPSS 0.8%
Heap-based buffer overflow in Windows Spaceport.sys allows an authorized attacker to elevate privileges over a network.