CWE-680: Integer Overflow to Buffer Overflow, published in 2023
Filter
The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
What the weakness is: CWE-680 at MITRE. All weaknesses
Related attack patterns (CAPEC): 11
- CAPEC-8 Buffer Overflow in an API Call Likelihood: High · Severity: High
- CAPEC-9 Buffer Overflow in Local Command-Line Utilities Likelihood: High · Severity: High
- CAPEC-10 Buffer Overflow via Environment Variables Likelihood: High · Severity: High
- CAPEC-14 Client-side Injection-induced Buffer Overflow Likelihood: Medium · Severity: High
- CAPEC-24 Filter Failure through Buffer Overflow Likelihood: High · Severity: High
- CAPEC-45 Buffer Overflow via Symbolic Links Likelihood: High · Severity: High
- CAPEC-46 Overflow Variables and Tags Likelihood: High · Severity: High
- CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
- CAPEC-67 String Format Overflow in syslog() Likelihood: High · Severity: Very High
- CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
- CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-680, as MITRE names them. Credits.
Ask an AI about CWE-680
Show the prompt
Explain CWE-680: Integer Overflow to Buffer Overflow and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/680.html and https://cve.bz/cve/cwe/680?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
- 7.8CVE-2023-33022qualcommEPSS 0.2%
Memory corruption in HLOS while invoking IOCTL calls from user-space.
- 7.8CVE-2023-33018qualcommEPSS 0.2%
Memory corruption while using the UIM diag command to get the operators name.
- 8.8CVE-2023-28585qualcommEPSS 0.2%
Memory corruption while loading an ELF segment in TEE Kernel.
- 5.5CVE-2023-22305intel aptio v uefi firmware integrator toolsEPSS 0.2%
Integer overflow in some Intel(R) Aptio* V UEFI Firmware Integrator Tools may allow an authenticated user to potentially enable denial of service via local access.
- 8.8CVE-2023-37536EPSS 2.0%
An integer overflow in xerces-c++ 3.2.3 in BigFix Platform allows remote attackers to cause out-of-bound access via HTTP request.
- 7.8CVE-2023-21644qualcommEPSS 0.2%
Memory corruption in RIL due to Integer Overflow while triggering qcril_uim_request_apdu request.
- 7.8CVE-2023-21648qualcommEPSS 0.2%
Memory corruption in RIL while trying to send apdu packet.
- 8.8CVE-2022-24834EPSS 3.8%
Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem ex…
- 5.5CVE-2023-22443intelEPSS 0.2%
Integer overflow in some Intel(R) Server Board BMC firmware before version 2.90 may allow a privileged user to enable denial of service via local access.
- 7.8CVE-2022-33296qualcommEPSS 0.2%
Memory corruption due to integer overflow to buffer overflow in Modem while parsing Traffic Channel Neighbor List Update message.
- 7.8CVE-2022-33282qualcommEPSS 0.2%
Memory corruption in Automotive Multimedia due to integer overflow to buffer overflow during IOCTL calls in video playback.
- 7.8CVE-2022-40530qualcommEPSS 0.2%
Memory corruption in WLAN due to integer overflow to buffer overflow in WLAN during initialization phase.
- 7.8CVE-2022-25705qualcommEPSS 0.2%
Memory corruption in modem due to integer overflow to buffer overflow while handling APDU response
- 7.8CVE-2022-33248qualcommEPSS 0.2%
Memory corruption in User Identity Module due to integer overflow to buffer overflow when a segement is received via qmi http.