CWE-120: Buffer Copy without Checking Size of Input (Classic Buffer Overflow), published in 2025, page 13
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
- 6.9CVE-2025-3723pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7 and classified as critical. This issue affects some unknown processing of the component MDTM Command Handler. The manipulation leads to buffer overflow. The attack may be initiated remote…
- 6.9CVE-2025-3683pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7. It has been declared as critical. This vulnerability affects unknown code of the component SIZE Command Handler. The manipulation leads to buffer overflow. The attack can be initiated re…
- 6.9CVE-2025-3682pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7. It has been classified as critical. This affects an unknown part of the component PASV Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack r…
- 6.9CVE-2025-3681pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this issue is some unknown functionality of the component MODE Command Handler. The manipulation leads to buffer overflow. The attack may be launch…
- 6.9CVE-2025-3680pcman ftp serverEPSS 0.8%
A vulnerability has been found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this vulnerability is an unknown functionality of the component LANG Command Handler. The manipulation leads to buffer overflow. The attack ca…
- 6.9CVE-2025-3679pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, was found in PCMan FTP Server 2.0.7. Affected is an unknown function of the component HOST Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack r…
- 6.9CVE-2025-3678pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. This issue affects some unknown processing of the component HELP Command Handler. The manipulation leads to buffer overflow. The attack may be ini…
- 4.6CVE-2025-25458tenda ac10 firmwareEPSS 0.3%
Tenda AC10 V4.0si_V16.03.10.20 is vulnerable to Buffer Overflow in AdvSetMacMtuWan via serverName2.
- 4.6CVE-2025-25453tenda ac10 firmwareEPSS 0.3%
Tenda AC10 V4.0si_V16.03.10.20 is vulnerable to Buffer Overflow in AdvSetMacMtuWan via serviceName2.
- 7.8CVE-2025-1277autodesk revitEPSS 0.3%
A maliciously crafted PDF file, when parsed through Autodesk applications, can force a Memory Corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.
- 9.8CVE-2025-25456tenda ac10 firmwareEPSS 0.7%
Tenda AC10 V4.0si_V16.03.10.20 is vulnerable to Buffer Overflow in AdvSetMacMtuWan via mac2.
- 6.2CVE-2025-29482struktur libheifEPSS 0.2%
Buffer Overflow vulnerability in libheif 1.19.7 allows a local attacker to execute arbitrary code via the SAO (Sample Adaptive Offset) processing of libde265.
- 6.2CVE-2025-29481libbpf project libbpfEPSS 0.2%
Buffer Overflow vulnerability in libbpf 1.5.0 allows a local attacker to execute arbitrary code via the bpf_object__init_prog` function of libbpf. This has been disputed by third parties who assert that "no one in their sane mind should be…
- 5.5CVE-2025-29480osgeo gdalEPSS 0.2%
Buffer Overflow vulnerability in gdal 3.10.2 allows a local attacker to cause a denial of service via the OGRSpatialReference::Release function. NOTE: the Supplier indicates that the report is invalid and could not be reproduced.
- 6.9CVE-2025-3380pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. Affected by this issue is some unknown functionality of the component FEAT Command Handler. The manipulation leads to buffer overflow. The attack …
- 6.9CVE-2025-3379pcman ftp serverEPSS 0.8%
A vulnerability classified as critical was found in PCMan FTP Server 2.0.7. Affected by this vulnerability is an unknown functionality of the component EPSV Command Handler. The manipulation leads to buffer overflow. The attack can be laun…
- 6.9CVE-2025-3378pcman ftp serverEPSS 0.8%
A vulnerability classified as critical has been found in PCMan FTP Server 2.0.7. Affected is an unknown function of the component EPRT Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack remotely…
- 6.9CVE-2025-3377pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7. It has been rated as critical. This issue affects some unknown processing of the component ENC Command Handler. The manipulation leads to buffer overflow. The attack may be initiated rem…
- 6.9CVE-2025-3376pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7. It has been declared as critical. This vulnerability affects unknown code of the component CONF Command Handler. The manipulation leads to buffer overflow. The attack can be initiated re…
- 6.9CVE-2025-3375pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7. It has been classified as critical. This affects an unknown part of the component CDUP Command Handler. The manipulation leads to buffer overflow. It is possible to initiate the attack r…
- 6.9CVE-2025-3374pcman ftp serverEPSS 0.8%
A vulnerability was found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this issue is some unknown functionality of the component CCC Command Handler. The manipulation leads to buffer overflow. The attack may be launche…
- 6.9CVE-2025-3373pcman ftp serverEPSS 0.8%
A vulnerability has been found in PCMan FTP Server 2.0.7 and classified as critical. Affected by this vulnerability is an unknown functionality of the component SITE CHMOD Command Handler. The manipulation leads to buffer overflow. The att…
- 6.9CVE-2025-3372pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, was found in PCMan FTP Server 2.0.7. Affected is an unknown function of the component MKDIR Command Handler. The manipulation leads to buffer overflow. It is possible to launch the attack …
- 6.9CVE-2025-3371pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. This issue affects some unknown processing of the component DELETE Command Handler. The manipulation leads to buffer overflow. The attack may be i…
- 6.9CVE-2025-3349pcman ftp serverEPSS 0.8%
A vulnerability, which was classified as critical, has been found in PCMan FTP Server 2.0.7. This issue affects some unknown processing of the component SYST Command Handler. The manipulation leads to buffer overflow. The attack may be ini…
- 7.8CVE-2025-21443qualcommEPSS 0.1%
Memory corruption while processing message content in eAVB.
- 8.7CVE-2025-3346tenda ac7 firmwareEPSS 7.7%
A vulnerability was found in Tenda AC7 15.03.06.44. It has been rated as critical. Affected by this issue is the function formSetPPTPServer of the file /goform/SetPptpServerCfg. The manipulation of the argument pptp_server_start_ip/pptp_se…
- 7.5CVE-2024-58110huawei harmonyosEPSS 0.3%
Buffer overflow vulnerability in the codec module Impact: Successful exploitation of this vulnerability may affect availability.
- 7.5CVE-2024-58109huawei harmonyosEPSS 0.3%
Buffer overflow vulnerability in the codec module Impact: Successful exploitation of this vulnerability may affect availability.
- 7.5CVE-2024-58108huawei harmonyosEPSS 0.3%
Buffer overflow vulnerability in the codec module Impact: Successful exploitation of this vulnerability may affect availability.
- 7.5CVE-2024-58107huawei harmonyosEPSS 0.4%
Buffer overflow vulnerability in the codec module Impact: Successful exploitation of this vulnerability may affect availability.
- 7.5CVE-2024-58106huawei harmonyosEPSS 0.3%
Buffer overflow vulnerability in the codec module Impact: Successful exploitation of this vulnerability may affect availability.
- 8.7CVE-2025-3328tenda ac1206 firmwareEPSS 7.6%
A vulnerability was found in Tenda AC1206 15.03.06.23. It has been classified as critical. Affected is the function form_fast_setting_wifi_set of the file /goform/fast_setting_wifi_set. The manipulation of the argument ssid/timeZone leads …
- 5.5CVE-2025-29476EPSS 0.2%
Buffer Overflow vulnerability in compress_chunk_fuzzer with oss-fuzz on commit 16450518afddcb3139de627157208e49bfef6987 in c-blosc2 v.2.17.0 and before.
- 7.7CVE-2025-3194EPSS 0.7%
Versions of the package bigint-buffer from 0.0.0 are vulnerable to Buffer Overflow in the toBigIntLE() function. Attackers can exploit this to crash the application.
- 9.8CVE-2025-29462tenda ac15 firmwareEPSS 0.6%
A buffer overflow vulnerability has been discovered in Tenda Ac15 V15.13.07.13. The vulnerability occurs when the webCgiGetUploadFile function calls the socketRead function to process HTTP request messages, resulting in the overwriting of …
- 4.8CVE-2025-3148code-projects product management systemEPSS 0.2%
A vulnerability was found in codeprojects Product Management System 1.0 and classified as problematic. This issue affects some unknown processing of the component Login. The manipulation of the argument Str1 leads to buffer overflow. Attac…
- 4.8CVE-2025-3139fabian bus reservation systemEPSS 0.2%
A vulnerability was found in code-projects Bus Reservation System 1.0 and classified as critical. Affected by this issue is the function Login of the component Login Form. The manipulation of the argument Str1 leads to buffer overflow. It …
- 7.1CVE-2025-28398dlink di-8100 firmwareEPSS 0.7%
D-LINK DI-8100 16.07.26A1 is vulnerable to Buffer Overflow in the ipsec_net_asp function via the remot_ip parameter.
- 7.1CVE-2025-28395dlink di-8100 firmwareEPSS 0.7%
D-LINK DI-8100 16.07.26A1 is vulnerable to Buffer Overflow in the ipsec_road_asp function via the host_ip parameter.
- 7.8CVE-2025-1660autodesk navisworksEPSS 0.2%
A maliciously crafted DWFX file, when parsed through Autodesk Navisworks, can force a Memory Corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.
- 9.8CVE-2025-24266apple macosEPSS 1.1%
A buffer overflow was addressed with improved bounds checking. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS Ventura 13.7.5. An app may be able to cause unexpected system termination.
- 9.8CVE-2025-24237appleEPSS 1.6%
A buffer overflow was addressed with improved bounds checking. This issue is fixed in iOS 18.4 and iPadOS 18.4, iPadOS 17.7.6, macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS Ventura 13.7.5, visionOS 2.4, watchOS 11.4. An app may be able to…
- 7.0CVE-2025-24209appleEPSS 0.9%
A buffer overflow issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4, iPadOS 17.7.6, macOS Sequoia 15.4, tvOS 18.4, watchOS 11.4. Processing maliciously crafted web content may l…
- 5.6CVE-2025-24157apple macosEPSS 0.7%
A buffer overflow issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS Ventura 13.7.5. An app may be able to cause unexpected system termination or corrupt kernel memory.
- 5.9CVE-2024-24456hewlett packard enterprise (hpe) hpe athonet coreEPSS 0.4%
An E-RAB Release Command packet containing a malformed NAS PDU will cause the Athonet MME to immediately crash, potentially due to a buffer overflow.
- 8.8CVE-2023-33302fortinetEPSS 0.4%
A buffer copy without checking size of input ('classic buffer overflow') in Fortinet FortiMail webmail and administrative interface version 6.4.0 through 6.4.4 and before 6.2.6 and FortiNDR administrative interface version 7.2.0 and befor…
- 7.5CVE-2025-28221tenda w6-s firmwareEPSS 0.5%
Tenda W6_S v1.0.0.4_510 has a Buffer Overflow vulnerability in the set_local_time function, which allows remote attackers to cause web server crash via parameter time passed to the binary through a POST request.
- 7.5CVE-2025-28220tenda w6-s firmwareEPSS 0.5%
Tenda W6_S v1.0.0.4_510 has a Buffer Overflow vulnerability in the setcfm function, which allows remote attackers to cause web server crash via parameter funcpara1 passed to the binary through a POST request.
- 7.8CVE-2022-49754linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix a buffer overflow in mgmt_mesh_add() Smatch Warning: net/bluetooth/mgmt_util.c:375 mgmt_mesh_add() error: __memcpy() 'mesh_tx->param' too small (48 vs 50)…