cve.bz

CWE-193: Off-by-one Error, published in 2023

Filter

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

What the weakness is: CWE-193 at MITRE. All weaknesses

Ask an AI about CWE-193

Show the promptExplain CWE-193: Off-by-one Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/193.html and https://cve.bz/cve/cwe/193?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

  1. 7.5CVE-2023-46247vyperlang vyperEPSS 0.8%

    Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Contracts containing large arrays might underallocate the number of slots they need by 1. Prior to v0.3.8, the calculation to determine how many slots a st…

  2. 9.8CVE-2023-46853memcachedEPSS 1.1%

    In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used instead of \r\n.

  3. 10.0CVE-2023-4260zephyrproject zephyrEPSS 0.7%

    Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system.

  4. 8.8CVE-2023-4259zephyrproject zephyrEPSS 0.7%

    Two potential buffer overflow vulnerabilities at the following locations in the Zephyr eS-WiFi driver source code.

  5. 5.3CVE-2023-41880bytecodealliance wasmtimeEPSS 0.8%

    Wasmtime is a standalone runtime for WebAssembly. Wasmtime versions from 10.0.0 to versions 10.02, 11.0.2, and 12.0.1 contain a miscompilation of the WebAssembly `i64x2.shr_s` instruction on x86_64 platforms when the shift amount is a cons…

  6. 7.8CVE-2022-33064libsndfile project libsndfileEPSS 0.4%

    An off-by-one error in function wav_read_header in src/wav.c in Libsndfile 1.1.0, results in a write out of bound, which allows an attacker to execute arbitrary code, Denial of Service or other unspecified impacts.

  7. 9.8CVE-2023-38429linux kernelEPSS 1.4%

    An issue was discovered in the Linux kernel before 6.3.4. fs/ksmbd/connection.c in ksmbd has an off-by-one error in memory allocation (because of ksmbd_smb2_check_message) that may lead to out-of-bounds access.

  8. 7.5CVE-2023-28709EPSS 3.4%

    The fix for CVE-2023-24998 was incomplete for Apache Tomcat 11.0.0-M2 to 11.0.0-M4, 10.1.5 to 10.1.7, 9.0.71 to 9.0.73 and 8.5.85 to 8.5.87. If non-default HTTP connector settings were used such that the maxParameterCount could be re…

  9. 7.5CVE-2023-30546contiki-ngEPSS 0.9%

    Contiki-NG is an operating system for Internet of Things devices. An off-by-one error can be triggered in the Antelope database management system in the Contiki-NG operating system in versions 4.8 and prior. The problem exists in the Conti…

  10. 3.7CVE-2023-28858redis redis-pyEPSS 0.9%

    redis-py before 4.5.3 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request in an off-by-one manner. NOTE: this CVE Record was initially cre…

  11. 4.3CVE-2023-27477bytecodeallianceEPSS 0.7%

    wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's code generation backend, Cranelift, has a bug on x86_64 platforms for the WebAssembly `i8x16.select` instruction which will produce the wrong results when the same operand i…

  12. 5.5CVE-2023-0818gpacEPSS 0.4%

    Off-by-one Error in GitHub repository gpac/gpac prior to v2.3.0-DEV.