CWE-120: Buffer Copy without Checking Size of Input (Classic Buffer Overflow), published in 2023
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-51434hihonor magic uiEPSS 0.2%
Some Honor products are affected by buffer overflow vulnerability, successful exploitation could cause code execution.
- 7.5CVE-2023-47091stormshield network securityEPSS 0.5%
An issue was discovered in Stormshield Network Security (SNS) SNS 4.3.13 through 4.3.22 before 4.3.23, SNS 4.6.0 through 4.6.9 before 4.6.10, and SNS 4.7.0 through 4.7.1 before 4.7.2. An attacker can overflow the cookie threshold, making a…
- 9.8CVE-2023-51771starnight micro http serverEPSS 0.7%
In MicroHttpServer (aka Micro HTTP Server) through a8ab029, _ParseHeader in lib/server.c allows a one-byte recv buffer overflow via a long URI.
- 9.8CVE-2023-7095totolink a7100ru firmwareEPSS 14%
A vulnerability, which was classified as critical, has been found in Totolink A7100RU 7.4cu.2313_B20191024. Affected by this issue is the function main of the file /cgi-bin/cstecgi.cgi?action=login of the component HTTP POST Request Handle…
- 7.5CVE-2023-48704clickhouseEPSS 0.5%
ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially craft…
- 9.8CVE-2023-50986tenda i29 firmwareEPSS 0.8%
Tenda i29 v1.0 V1.0.0.5 was discovered to contain a buffer overflow via the time parameter in the sysLogin function.
- 9.8CVE-2023-50628libmingEPSS 1.3%
Buffer Overflow vulnerability in libming version 0.4.8, allows attackers to execute arbitrary code and obtain sensitive information via parser.c component.
- 9.8CVE-2023-50044cesanta mjsEPSS 0.9%
Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string.
- 7.5CVE-2023-6711hitachienergy rtu500 firmwareEPSS 0.7%
Vulnerability exists in SCI IEC 60870-5-104 and HCI IEC 60870-5-104 that affects the RTU500 series product versions listed below. Specially crafted messages sent to the mentioned components are not validated properly and can result in buff…
- 9.8CVE-2023-6906totolink a7100ru firmwareEPSS 1.8%
A vulnerability, which was classified as critical, was found in Totolink A7100RU 7.4cu.2313_B20191024. Affected is the function main of the file /cgi-bin/cstecgi.cgi?action=login of the component HTTP POST Request Handler. The manipulation…
- 7.5CVE-2023-50784unrealircdEPSS 1.9%
A buffer overflow in websockets in UnrealIRCd 6.1.0 through 6.1.3 before 6.1.4 allows an unauthenticated remote attacker to crash the server by sending an oversized packet (if a websocket port is open). Remote code execution might be possi…
- 9.8CVE-2023-50469szlbt lbt-t300-t310 firmwareEPSS 8.9%
Shenzhen Libituo Technology Co., Ltd LBT-T300-T310 v2.2.2.6 was discovered to contain a buffer overflow via the ApCliEncrypType parameter at /apply.cgi.
- 8.2CVE-2023-37457EPSS 1.1%
Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEA…
- 7.6CVE-2023-42801moonlight-streamEPSS 0.9%
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d38b44c. A malicious game streaming serve…
- 8.8CVE-2023-42800moonlight-streamEPSS 1.9%
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 due to unmitigated usage of unsaf…
- 8.8CVE-2023-42799moonlight-streamEPSS 1.9%
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 due to unmitigated usage of unsaf…
- 6.5CVE-2023-25642zteEPSS 0.5%
There is a buffer overflow vulnerability in some ZTE mobile internet producsts. Due to insufficient validation of tcp port parameter, an authenticated attacker could use the vulnerability to perform a denial of service attack.
- 5.5CVE-2023-50268jqlang jqEPSS 0.4%
jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.
- 5.5CVE-2023-50246jqlang jqEPSS 0.5%
jq is a command-line JSON processor. Version 1.7 is vulnerable to heap-based buffer overflow. Version 1.7.1 contains a patch for this issue.
- 5.3CVE-2023-49993espeak-ngEPSS 0.4%
Espeak-ng 1.52-dev was discovered to contain a Buffer Overflow via the function ReadClause at readclause.c.
- 5.3CVE-2023-49990espeak-ngEPSS 0.4%
Espeak-ng 1.52-dev was discovered to contain a buffer-overflow via the function SetUpPhonemeTable at synthdata.c.
- 7.5CVE-2023-46284siemensEPSS 0.9%
A vulnerability has been identified in Opcenter Execution Foundation (All versions < V2407), Opcenter Quality (All versions < V2312), SIMATIC PCS neo (All versions < V4.1), SINEC NMS (All versions < V2.0 SP1), Totally Integrated Automation…
- 7.5CVE-2023-46283siemensEPSS 0.9%
A vulnerability has been identified in Opcenter Execution Foundation (All versions < V2407), Opcenter Quality (All versions < V2312), SIMATIC PCS neo (All versions < V4.1), SINEC NMS (All versions < V2.0 SP1), Totally Integrated Automation…
- 9.8CVE-2023-50245afichet openexr viewerEPSS 1.1%
OpenEXR-viewer is a viewer for OpenEXR files with detailed metadata probing. Versions prior to 0.6.1 have a memory overflow vulnerability. This issue is fixed in version 0.6.1.
- 7.2CVE-2023-32975qnapEPSS 0.9%
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-32968qnapEPSS 0.8%
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…
- 8.8CVE-2023-49468struktur libde265EPSS 0.9%
Libde265 v1.0.14 was discovered to contain a global buffer overflow vulnerability in the read_coding_unit function at slice.cc.
- 9.8CVE-2023-41913strongswanEPSS 2.7%
strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value that exceeds the internal buffer in charon-tkm's DH proxy. The earliest affected version is 5.3.0. An attack can occur …
- 7.8CVE-2023-33092qualcommEPSS 0.2%
Memory corruption while processing pin reply in Bluetooth, when pin code received from APP layer is greater than expected size.
- 7.8CVE-2023-33087qualcommEPSS 0.2%
Memory corruption in Core while processing RX intent request.
- 9.8CVE-2023-33083qualcommEPSS 0.6%
Memory corruption in WLAN Host while processing RRM beacon on the AP.
- 9.8CVE-2023-33082qualcommEPSS 0.5%
Memory corruption while sending an Assoc Request having BTM Query or BTM Response containing MBO IE.
- 7.8CVE-2023-33024qualcommEPSS 0.2%
Memory corruption while sending SMS from AP firmware.
- 7.8CVE-2023-33017qualcommEPSS 0.2%
Memory corruption in Boot while running a ListVars test in UEFI Menu during boot.
- 7.8CVE-2023-28580qualcommEPSS 0.2%
Memory corruption in WLAN Host while setting the PMK length in PMK length in internal cache.
- 7.8CVE-2023-28579qualcommEPSS 0.2%
Memory Corruption in WLAN Host while deserializing the input PMK bytes without checking the input PMK length.
- 7.8CVE-2023-28546qualcommEPSS 0.1%
Memory Corruption in SPS Application while exporting public key in sorter TA.
- 9.8CVE-2023-49287cxong tinydirEPSS 1.9%
TinyDir is a lightweight C directory and file reader. Buffer overflows in the `tinydir_file_open()` function. This vulnerability has been patched in version 1.2.6.
- 6.7CVE-2023-32860google androidEPSS 0.1%
In display, there is a possible classic buffer overflow due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALP…
- 6.7CVE-2023-32859google androidEPSS 0.1%
In meta, there is a possible classic buffer overflow due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS08…
- 7.5CVE-2023-47307szlbt lbt-t300-t310 firmwareEPSS 0.8%
Buffer Overflow vulnerability in /apply.cgi in Shenzhen Libituo Technology Co., Ltd LBT-T300-T310 v2.2.2.6 allows attackers to cause a denial of service via the ApCliAuthMode parameter.
- 9.1CVE-2023-5908EPSS 1.0%
KEPServerEX is vulnerable to a buffer overflow which may allow an attacker to crash the product being accessed or leak information.
- 7.5CVE-2023-49700asrmicroEPSS 0.4%
Security best practices violations, a string operation in Streamingmedia will write past the end of fixed-size destination buffer if the source buffer is too large.
- 7.5CVE-2023-24294zumtobel netlink ccd firmwareEPSS 0.8%
Zumtobel Netlink CCD Onboard v3.74 - Firmware v3.80 was discovered to contain a buffer overflow via the component NetlinkWeb::Information::SetDeviceIdentification.
- 4.4CVE-2023-4397zyxel zldEPSS 0.2%
A buffer overflow vulnerability in the Zyxel ATP series firmware version 5.37, USG FLEX series firmware version 5.37, USG FLEX 50(W) series firmware version 5.37, and USG20(W)-VPN series firmware version 5.37, could allow an authenticated …
- 5.5CVE-2023-37926zyxel zldEPSS 0.2%
A buffer overflow vulnerability in the Zyxel ATP series firmware versions 4.32 through 5.37, USG FLEX series firmware versions 4.50 through 5.37, USG FLEX 50(W) series firmware versions 4.16 through 5.37, USG20(W)-VPN series firmware versi…
- 9.8CVE-2023-4590kimmov frhedEPSS 1.1%
Buffer overflow vulnerability in Frhed hex editor, affecting version 1.6.0. This vulnerability could allow an attacker to execute arbitrary code via a long filename argument through the Structured Exception Handler (SEH) registers.
- 9.8CVE-2023-49208glewlwyd sso server project glewlwyd sso serverEPSS 0.9%
scheme/webauthn.c in Glewlwyd SSO server before 2.7.6 has a possible buffer overflow during FIDO2 credentials validation in webauthn registration.
- 9.8CVE-2023-28812hikvision localservicecomponentsEPSS 1.0%
There is a buffer overflow vulnerability in a web browser plug-in could allow an attacker to exploit the vulnerability by sending crafted messages to computers installed with this plug-in, which could lead to arbitrary code execution or ca…
- 6.5CVE-2023-28811hikvisionEPSS 0.4%
There is a buffer overflow in the password recovery feature of Hikvision NVR/DVR models. If exploited, an attacker on the same local area network (LAN) could cause the device to malfunction by sending specially crafted packets to an unpatc…