CWE-120: Buffer Copy without Checking Size of Input (Classic Buffer Overflow), published in 2023, page 3
Filter
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
What the weakness is: CWE-120 at MITRE. All weaknesses
Related attack patterns (CAPEC): 13
- 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-42 MIME Conversion Likelihood: High · Severity: High
- CAPEC-44 Overflow Binary Resource File Likelihood: High · Severity: Very 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-120, as MITRE names them. Credits.
Ask an AI about CWE-120
Show the prompt
Explain CWE-120: Buffer Copy without Checking Size of Input and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/120.html and https://cve.bz/cve/cwe/120?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-5139zephyrproject zephyrEPSS 0.5%
Potential buffer overflow vulnerability at the following location in the Zephyr STM32 Crypto driver
- 8.8CVE-2023-5753zephyrproject zephyrEPSS 1.0%
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
- 7.8CVE-2023-43250xnview nconvertEPSS 0.7%
XNSoft Nconvert 7.136 is vulnerable to Buffer Overflow. There is a User Mode Write AV via a crafted image file. Attackers could exploit this issue for a Denial of Service (DoS) or possibly to achieve code execution.
- 7.5CVE-2023-36321covesa dlt-daemonEPSS 1.1%
Connected Vehicle Systems Alliance (COVESA) up to v2.18.8 was discovered to contain a buffer overflow via the component /shared/dlt_common.c.
- 9.8CVE-2023-4257zephyrproject zephyrEPSS 1.1%
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows.
- 8.8CVE-2023-4263zephyrproject zephyrEPSS 0.5%
Potential buffer overflow vulnerability in the Zephyr IEEE 802.15.4 nRF 15.4 driver
- 7.2CVE-2023-32973qnapEPSS 0.6%
A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have…
- 7.5CVE-2023-45468netis-systems n3m firmwareEPSS 0.8%
Netis N3Mv2-V1.0.1.865 was discovered to contain a buffer overflow via the pingWdogIp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-45464netis-systems n3m firmwareEPSS 0.7%
Netis N3Mv2-V1.0.1.865 was discovered to contain a buffer overflow via the servDomain parameter. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-45463netis-systems n3m firmwareEPSS 0.7%
Netis N3Mv2-V1.0.1.865 was discovered to contain a buffer overflow via the hostName parameter in the FUN_0040dabc function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.8CVE-2023-32722zabbixEPSS 0.8%
The zabbix/src/libs/zbxjson module is vulnerable to a buffer overflow when parsing JSON files via zbx_json_open.
- 9.8CVE-2023-35056yifanwireless yf325 firmwareEPSS 1.1%
A buffer overflow vulnerability exists in the httpd next_page functionality of Yifan YF325 v1.0_20221108. A specially crafted network request can lead to command execution. An attacker can send a network request to trigger this vulnerabili…
- 9.8CVE-2023-35055yifanwireless yf325 firmwareEPSS 1.1%
A buffer overflow vulnerability exists in the httpd next_page functionality of Yifan YF325 v1.0_20221108. A specially crafted network request can lead to command execution. An attacker can send a network request to trigger this vulnerabili…
- 8.1CVE-2023-26320mi xiaomi router ax3200 firmwareEPSS 1.1%
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Xiaomi Xiaomi Router allows Command Injection.
- 7.2CVE-2023-26319mi xiaomi router ax3200 firmwareEPSS 1.0%
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Xiaomi Xiaomi Router allows Command Injection.
- 7.2CVE-2023-26318mi xiaomi router ax3200 firmwareEPSS 0.6%
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Xiaomi Xiaomi Router allows Overflow Buffers.
- 7.8CVE-2023-43896macrium reflectEPSS 0.4%
A buffer overflow in Macrium Reflect 8.1.7544 and below allows attackers to escalate privileges or execute arbitrary code.
- 9.8CVE-2023-45199trustedfirmware mbed tlsEPSS 1.3%
Mbed TLS 3.2.x through 3.4.x before 3.5 has a Buffer Overflow that can lead to remote Code execution.
- 7.5CVE-2023-43615EPSS 0.9%
Mbed TLS 2.x before 2.28.5 and 3.x before 3.5.0 has a Buffer Overflow.
- 9.8CVE-2023-3725zephyrproject zephyrEPSS 1.3%
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem
- 7.2CVE-2023-32972qnapEPSS 0.6%
A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have…
- 7.2CVE-2023-32971qnapEPSS 0.6%
A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated administrators to execute code via a network. We have…
- 7.5CVE-2023-44839dlink dir-823g firmwareEPSS 9.6%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the Encryption parameter in the SetWLanRadioSecurity function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44838dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the TXPower parameter in the SetWLanRadioSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44837dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the Password parameter in the SetWanSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44836dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the SSID parameter in the SetWLanRadioSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44835dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the Mac parameter in the SetParentsControlInfo function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44834dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the StartTime parameter in the SetParentsControlInfo function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44833dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the GuardInt parameter in the SetWLanRadioSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44832dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the MacAddress parameter in the SetWanSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44831dlink dir-823g firmwareEPSS 1.1%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the Type parameter in the SetWLanRadioSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44830dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the EndTime parameter in the SetParentsControlInfo function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44829dlink dir-823g firmwareEPSS 1.0%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the AdminPassword parameter in the SetDeviceSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.5CVE-2023-44828dlink dir-823g firmwareEPSS 0.9%
D-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the CurrentPassword parameter in the CheckPasswdSettings function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 9.8CVE-2023-35803extremenetworks iq engineEPSS 1.6%
IQ Engine before 10.6r2 on Extreme Network AP devices has a Buffer Overflow.
- 9.8CVE-2023-40830tenda ac6 firmwareEPSS 0.8%
Tenda AC6 v15.03.05.19 is vulnerable to Buffer Overflow as the Index parameter does not verify the length.
- 7.8CVE-2023-33035qualcommEPSS 0.1%
Memory corruption while invoking callback function of AFE from ADSP.
- 7.8CVE-2023-28539qualcommEPSS 0.1%
Memory corruption in WLAN Host when the firmware invokes multiple WMI Service Available command.
- 7.8CVE-2023-22384qualcommEPSS 0.1%
Memory Corruption in VR Service while sending data using Fast Message Queue (FMQ).
- 7.8CVE-2023-43907optipng project optipngEPSS 0.5%
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
- 8.8CVE-2023-44466linux kernelEPSS 45%
An issue was discovered in net/ceph/messenger_v2.c in the Linux kernel before 6.4.5. There is an integer signedness error, leading to a buffer overflow and remote code execution via HELLO or one of the AUTH frames. This occurs because of a…
- 7.5CVE-2023-43314zyxel pmg2005-t20b firmwareEPSS 0.8%Unsupported when assigned
The buffer overflow vulnerability in the Zyxel PMG2005-T20B firmware version V1.00(ABNK.2)b11_C0 could allow an unauthenticated attacker to cause a denial of service condition via a crafted uid.
- 8.8CVE-2023-5184zephyrproject zephyrEPSS 0.4%
Two potential signed to unsigned conversion errors and buffer overflow vulnerabilities at the following locations in the Zephyr IPM drivers.
- 9.6CVE-2023-4264zephyrproject zephyrEPSS 1.1%
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem.
- 10.0CVE-2023-4260zephyrproject zephyrEPSS 0.9%
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system.
- 8.8CVE-2023-4259zephyrproject zephyrEPSS 0.8%
Two potential buffer overflow vulnerabilities at the following locations in the Zephyr eS-WiFi driver source code.
- 9.8CVE-2023-43131maxiguvenlik general device managerEPSS 1.1%
General Device Manager 2.5.2.2 is vulnerable to Buffer Overflow.
- 7.5CVE-2023-41299huaweiEPSS 0.5%
DoS vulnerability in the PMS module. Successful exploitation of this vulnerability may cause the system to restart.
- 7.5CVE-2023-39409huaweiEPSS 0.5%
DoS vulnerability in the PMS module. Successful exploitation of this vulnerability may cause the system to restart.
- 7.5CVE-2023-39408huaweiEPSS 0.4%
DoS vulnerability in the PMS module. Successful exploitation of this vulnerability may cause the system to restart.