CWE-193: Off-by-one Error

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

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

CVETitleCVSSEPSSPublished
CVE-2026-2703 xlnt-community xlnt Encrypted XLSX File base64.cpp decode_base64 off-by-one 4.8 medium 0.23% 19 Feb 2026
CVE-2026-21870 The BACnet Protocol Stack library has an Off-by-one Stack-based Buffer Overflow in tokenizer_string 5.5 medium 0.27% 13 Feb 2026
CVE-2026-21504 Heap Buffer Overflow in iccDEV ToneMap Parser 6.6 medium 0.22% 7 Jan 2026
CVE-2026-21491 iccDEV has unicode buffer overflow in CIccTagTextDescription 6.1 medium 0.22% 6 Jan 2026
CVE-2026-21490 iccDEV has heap buffer overflow in CIccTagLut16::Validate() 6.1 medium 0.22% 6 Jan 2026
CVE-2026-21494 iccDEV has heap buffer overflow in CIccTagLut8::Validate() 6.1 medium 0.16% 6 Jan 2026
CVE-2025-11215 Google Chrome: Off-by-one Error 4.3 medium 0.27% 6 Nov 2025
CVE-2025-4582 Buffer Over-read, Off-by-one Error vulnerability in RTI Connext Professional (Core Libraries) allows File Manipulation, Overread Buffers. 4.8 medium 0.14% 23 Sep 2025
CVE-2023-53397 modpost: fix off by one in is_executable_section() 5.5 medium 0.16% 18 Sep 2025
CVE-2025-54349 ES iperf3: Off-by-one Error 6.5 medium 0.47% 3 Aug 2025
CVE-2025-53014 ImageMagick has Heap Buffer Overflow in InterpretImageFilename 3.7 low 0.74% 14 Jul 2025
CVE-2025-52497 mbedtls: Off-by-one Error 4.8 medium 0.34% 4 Jul 2025
CVE-2025-47711 Nbdkit: nbdkit-server: off-by-one error when processing block status may lead to a denial of service 6.5 medium 0.58% 9 Jun 2025
CVE-2025-43973 GoBGP: Off-by-one Error 6.8 medium 0.58% 21 Apr 2025
CVE-2025-43971 GoBGP: Off-by-one Error 8.6 high 0.57% 21 Apr 2025
CVE-2025-37893 LoongArch: BPF: Fix off-by-one error in build_prologue() 7.8 high 0.29% 18 Apr 2025
CVE-2025-30742 pizhenwei atophttpd: Off-by-one Error 5.3 medium 0.45% 26 Mar 2025
CVE-2024-10442 Synology Unified Controller (DSMUC): Off-by-one Error 10.0 critical 1.45% 19 Mar 2025
CVE-2024-57990 wifi: mt76: mt7925: fix off by one in mt7925_load_clc() 7.8 high 0.24% 27 Feb 2025
CVE-2022-49365 drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq() 5.5 medium 0.27% 26 Feb 2025
CVE-2024-57259 denx U-Boot: Off-by-one Error 7.1 high 0.37% 18 Feb 2025
CVE-2024-48854 Vulnerabilities in TIFF and PCX Image Codecs Impact QNX Software Development Platform 5.3 medium 0.37% 14 Jan 2025
CVE-2024-56663 wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one 7.8 high 0.23% 27 Dec 2024
CVE-2024-53163 crypto: qat/qat_420xx - fix off by one in uof_get_name() 5.5 medium 0.25% 24 Dec 2024
CVE-2024-51554 off-by-one-error 8.8 high 0.39% 5 Dec 2024
CVE-2024-45796 Suricata defrag: off by one can lead to policy bypass 5.3 medium 0.47% 16 Oct 2024
CVE-2024-32668 bhyve(8) privileged guest escape via USB controller 8.2 high 0.21% 5 Sep 2024
CVE-2024-36136 Ivanti Avalanche: Off-by-one Error 7.5 high 2.19% 14 Aug 2024
CVE-2024-38441 Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[len] to '\0' in FPMapName… 9.8 critical 0.92% 16 Jun 2024
CVE-2024-38440 Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of… 7.5 high 0.88% 16 Jun 2024
CVE-2023-44444 GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability 7.8 high 31.1% 3 May 2024
CVE-2024-31585 FFmpeg version n5.1 to n6.1 was discovered to contain an Off-by-one Error vulnerability in libavfilter/avf_showspectrum.c 5.3 medium 0.33% 17 Apr 2024
CVE-2024-1441 Libvirt: off-by-one error in udevlistinterfacesbystatus() 5.5 medium 0.44% 11 Mar 2024
CVE-2024-23849 In rds_recv_track_latency in net/rds/af_rds.c in the Linux kernel through 6.7.1, there is an off-by-one error for an… 5.5 medium 0.31% 23 Jan 2024
CVE-2023-46247 Vyper has incorrect storage layout for contracts containing large arrays 7.5 high 0.69% 13 Dec 2023
CVE-2023-4260 Potential off-by-one buffer overflow vulnerability in the Zephyr FS subsystem 6.3 medium 0.87% 26 Sep 2023
CVE-2023-4259 Potential buffer overflow vulnerabilities in the Zephyr eS-WiFi driver 7.1 high 0.83% 25 Sep 2023
CVE-2023-41880 Miscompilation of wasm `i64x2.shr_s` instruction with constant input on x86_64 2.2 low 0.67% 15 Sep 2023
CVE-2023-28709 Apache Tomcat: Fix for CVE-2023-24998 is incomplete – 48.0% 22 May 2023
CVE-2023-30546 Contiki-NG has off-by-one error in Antelope DBMS 9.8 critical 0.64% 26 Apr 2023
CVE-2023-27477 bytecodealliance wasmtime: Off-by-one Error 3.1 low 0.62% 8 Mar 2023
CVE-2023-0818 Off-by-one Error in gpac/gpac 7.1 high 0.40% 13 Feb 2023
CVE-2022-36354 OpenImageIO: Off-by-one Error 5.3 medium 0.85% 23 Dec 2022
CVE-2022-47517 An issue was discovered in the libsofia-sip fork in drachtio-server before 0.8.19 7.5 high 1.59% 18 Dec 2022
CVE-2022-41916 Read one byte past a buffer when normalizing Unicode 5.9 medium 1.20% 15 Nov 2022
CVE-2022-3821 n/a systemd: Off-by-one Error 5.5 medium 0.44% 8 Nov 2022
CVE-2022-3872 n/a QEMU: Off-by-one Error 8.6 high 1.13% 7 Nov 2022
CVE-2021-46848 GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der 9.1 critical 2.84% 24 Oct 2022
CVE-2022-3103 n/a Linux: Off-by-one Error 7.8 high 0.30% 26 Sep 2022
CVE-2021-3999 n/a glibc: Off-by-one Error 7.8 high 0.81% 24 Aug 2022