Vulnerabilities

CWE-193: Off-by-one Error

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

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

Definition as published by MITRE, in English.

142 vulnerabilities in the service point to this weakness

  1. CVE-2021-3156 Actively exploited High 7.8

    Sudo Heap-Based Buffer Overflow Vulnerability

    Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends wit…

  2. CVE-2025-54349 Critical 10.0

    In iperf before 3.19.1, iperf_auth.c has an off-by-one error and resultant heap-based buffer overflow.

  3. CVE-2024-10442 Critical 10.0

    Off-by-one error vulnerability in the transmission component in Synology Replication Service before 1.0.12-0066, 1.2.2-0353 and 1.3.0-0423 and Synology Unified Controller (DSMUC) before 3.1.4-23079 a…

  4. CVE-2026-64047 Critical 9.8

    In the Linux kernel, the following vulnerability has been resolved: net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring When an sk_msg scatterlist ring wraps (sg.end < sg.start),…

  5. CVE-2026-53309 Critical 9.8

    In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison The local-vs-remote region comparison loop uses '<=' instead of …

  6. CVE-2026-53088 Critical 9.8

    In the Linux kernel, the following vulnerability has been resolved: net: bcmgenet: fix off-by-one in bcmgenet_put_txcb The write_ptr points to the next open tx_cb. We want to return the tx_cb that ge…

  7. CVE-2026-48689 Critical 9.8

    FastNetMon Community Edition through 1.2.9 contains an off-by-one heap-based buffer overflow in the dynamic_binary_buffer_t class (src/dynamic_binary_buffer.hpp). Five methods (append_dynamic_buffer,…

  8. CVE-2006-10003 Critical 9.8

    XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack. In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will …

  9. CVE-2025-53014 Critical 9.8

    ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the `InterpretImageFilename` func…

  10. CVE-2025-43973 Critical 9.8

    An issue was discovered in GoBGP before 3.35.0. pkg/packet/rtr/rtr.go does not verify that the input length corresponds to a situation in which all bytes are available for an RTR message.

  11. CVE-2024-51554 Critical 9.8

    Default Credentail vulnerabilities in ASPECT on Linux allows access to the product using publicly available default credentials. Affected products: ABB ASPECT - Enterprise v3.08.02; NEXUS Series v3.0…

  12. CVE-2026-79148 Critical 9.1

    Off-by-one error in DevTools in Google Chrome prior to 152.0.7977.65 allowed a remote attacker leveraging social engineering to potentially read memory inside the sandbox via a crafted Chrome extensi…

  13. CVE-2026-44603 Critical 9.1

    Tor before 0.4.9.7 has an out-of-bounds read by one byte via a malformed BEGIN cell, aka TROVE-2026-007.

  14. CVE-2021-46848 Critical 9.1

    GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der.

  15. CVE-2026-126889 High 8.8

    Off-by-one error in V8 in Google Chrome prior to 157.0.8103.78 allowed a remote attacker to potentially execute arbitrary code inside the sandbox via a crafted HTML page. (Chromium security severity:…

  16. CVE-2026-118726 High 8.8

    Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code over a network.

  17. CVE-2026-108443 High 8.8

    Off-by-one error in Microsoft Office Word allows an unauthorized attacker to execute code over a network.

  18. CVE-2026-97741 High 8.8

    Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code over a network.

  19. CVE-2026-102857 High 8.8

    Microsoft Office Visio Remote Code Execution Vulnerability

    Heap-based buffer overflow in Microsoft Office Visio allows an unauthorized attacker to execute code over a network.

  20. CVE-2026-83742 High 8.8

    Unsigned integer underflow in wstrncat() in src/port.c in wolfSSL wolfSSH from v1.4.11 through v1.5.0 on non-Windows platforms allows an authenticated remote attacker to write one out-of-bounds null …

  21. CVE-2026-49127 High 8.8

    Music Player Daemon (MPD) before version 0.24.11 contains a stack buffer overflow vulnerability in the pcm_unpack_24be function in src/pcm/Pack.cxx that allows unauthenticated attackers to corrupt st…

  22. CVE-2026-58014 High 8.6

    A flaw was found in GLib. An off-by-one error can occur in the g_key_file_get_locale_string_list function in the gkeyfile.c file when loading a key file with an empty value. This flaw can cause an ou…

  23. CVE-2026-28520 High 8.6

    arduino-TuyaOpen before version 1.2.1 contains a single-byte buffer overflow vulnerability in the WiFiMulti component. When the victim's smart hardware connects to an attacker-controlled AP hotspot, …

  24. CVE-2026-130386 High 8.3

    Contiki-NG through 5.2 contains an out-of-bounds access vulnerability in buffer_reclaim() and domain_set_free() in mpl.c that iterate the seed_set array one element past its end. Remote attackers can…

  25. CVE-2026-86297 High 8.2

    A vulnerability was identified in D-Link DIR-605 B1v202WWB03. This issue affects the function tunnel_set_params of the file progs.gpl/pppd.alpha/l2tp/tunnel.c of the component L2TP Control Message Pa…