CWE-120: Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
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
- 5.5CVE-2026-130446wireshark foundation wiresharkEPSS 0.3%
ACN protocol dissector crash in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service
- 8.7CVE-2026-129972moxa iologik e1200 seriesEPSS 1.0%
A buffer overflow vulnerability exists in the web management service of the Ethernet Remote I/Os products. An unauthenticated remote attacker could exploit insufficient bounds checking of specially crafted HTTP requests, potentially causin…
- 8.7CVE-2026-129971moxa iologik e1200 seriesEPSS 0.9%
A buffer overflow vulnerability exists in the SNMP service of the Ethernet Remote I/Os products. An unauthenticated remote attacker could exploit improper handling of specially crafted SNMP requests, potentially leading to a denial-of-serv…
- 7.5CVE-2026-131813united chargers grizzl-e smart 40aEPSS 0.3%
United Chargers Grizzl-E Smart 40A OCPP UpdateFirmware Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of United Chargers Gri…
- 9.8CVE-2026-116440dellEPSS 0.6%
Dell PowerStore SDNAS contains a buffer overflow vulnerability that could allow an unauthenticated remote attacker to cause a denial of service or potential code execution on the NAS node.
- 7.5CVE-2026-115677airties kablosuz İletişim sanayi ve dış ticaret a.Ş. air 5444EPSS 0.4%
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in AirTies Kablosuz İletişim Sanayi ve Dış Ticaret A.Ş. Air 5444 allows Overflow Buffers. This issue affects Air 5444: through 2026-11-19. NOTE: The vend…
- 7.5CVE-2026-76411cisco cisco secure endpointEPSS 0.6%
A vulnerability in the phishcheck functionality of ClamAV could allow an unauthenticated, remote attacker to cause a DoS condition on an affected device. This vulnerability is due to improper allocation of memory during processing of UR…
- 7.1CVE-2026-129606samsung open source mtowerEPSS 0.1%
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Samsung Open Source mTower allows Overflow Buffers.
- 8.6CVE-2026-129250edimax br6478acv2EPSS 0.4%
A security vulnerability has been detected in Edimax BR6478ACV2 1.23. The impacted element is the function formPPTPSetup of the file webs. The manipulation of the argument pptpUserName leads to buffer overflow. It is possible to initiate t…
- 8.7CVE-2026-129123openkermit c-kermitEPSS 0.6%
C-Kermit 8.0.200 before 11.1.515 contains a buffer overflow vulnerability in getreply() in ckcftp.c that allows malicious FTP servers to overwrite client memory by sending overlong security replies. Attackers controlling or intercepting an…
- 6.9CVE-2026-111333citrixEPSS 0.1%
Memory overflow in an authentication request can lead to unpredictable or erroneous behavior or Denial of Service in Citrix NetScaler ADC and Citrix NetScaler Gateway.
- 8.7CVE-2026-111342citrixEPSS 0.3%
Memory overflow in LDAP authentication can lead to unpredictable or erroneous behavior or Denial of Service in Citrix NetScaler ADC and Citrix NetScaler Gateway.
- 8.7CVE-2026-111341citrixEPSS 0.2%
Memory overflow in client-certificate authentication can lead to unpredictable or erroneous behavior or Denial of Service in Citrix NetScaler ADC and Citrix NetScaler Gateway.
- 6.9CVE-2026-0436amdEPSS 0.1%
Insufficient parameter sanitization in the AMD Secure Processor (ASP) trusted execution environment (TEE) SPDM driver could allow an attacker to supply malicious input, potentially resulting in loss of platform integrity, memory leakage, o…
- 7.8CVE-2026-110088adobe premiereEPSS 0.3%
Premiere Pro is affected by a Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issu…
- 6.7CVE-2026-110087adobe premiereEPSS 0.2%
Premiere Pro is affected by a Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. A low-privileged attacker could exploit this vulnerability to execute arbitrary code. Exploit dep…
- 8.8CVE-2026-124947mozillaEPSS 0.3%
Incorrect boundary conditions in the Graphics component. This vulnerability was fixed in Firefox 160 and Thunderbird 160.
- 8.8CVE-2026-124926mozillaEPSS 0.3%
Incorrect boundary conditions in the WebRTC component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124924mozillaEPSS 0.3%
Incorrect boundary conditions in the Graphics: WebRender component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124918mozillaEPSS 0.3%
Privilege escalation due to incorrect boundary conditions in the Graphics: WebRender component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124915mozillaEPSS 0.3%
Incorrect boundary conditions in the Graphics: WebGPU component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124891mozillaEPSS 0.4%
Incorrect boundary conditions in the DOM: Selection component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124888mozillaEPSS 0.4%
Incorrect boundary conditions in the Layout: Text and Fonts component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124887mozillaEPSS 0.4%
Incorrect boundary conditions in the Layout: Text and Fonts component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124875mozillaEPSS 0.4%
Incorrect boundary conditions in the DOM: CSS Object Model component. This vulnerability was fixed in Firefox 160, Firefox ESR 115.45, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124870mozillaEPSS 0.4%
Incorrect boundary conditions in the JavaScript: GC component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124868mozillaEPSS 0.4%
Incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 9.6CVE-2026-124859mozillaEPSS 0.4%
Sandbox escape due to incorrect boundary conditions in the Storage: Cache API component. This vulnerability was fixed in Firefox 160, Firefox ESR 115.45, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124856mozillaEPSS 0.4%
Incorrect boundary conditions in the Networking: HTTP component. This vulnerability was fixed in Firefox 160, Firefox ESR 153.7, Thunderbird 160, and Thunderbird 153.7.
- 8.8CVE-2026-124852mozillaEPSS 0.4%
Incorrect boundary conditions in the Graphics: CanvasWebGL component. This vulnerability was fixed in Firefox 160 and Thunderbird 160.
- 7.7CVE-2026-124563d-link dir-878EPSS 0.5%
A security flaw has been discovered in D-Link DIR-878 1.20B05. Affected by this vulnerability is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument Primary/Secondary results in buffer overflow. The …
- 7.7CVE-2026-124562d-link dir-878EPSS 0.7%
A vulnerability was identified in D-Link DIR-878 1.20B05. Affected is the function SetWanSettings of the component HNAP Handler. The manipulation of the argument ConfigDNS/Primary/ConfigDNS/Secondary leads to buffer overflow. The attack ma…
- 8.5CVE-2026-124060totolink ca300-poeEPSS 0.5%
A vulnerability was detected in TOTOLINK CA300-PoE 6.2c.884. Affected by this issue is the function UploadCustomModule of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument File results in buffer overflow. The attack may be la…
- 8.5CVE-2026-124059totolink ca300-poeEPSS 0.5%
A security vulnerability has been detected in TOTOLINK CA300-PoE 6.2c.884. Affected by this vulnerability is the function setWiFiWdsAddConfig of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument ApCliKeyStr leads to buffer ov…
- 8.5CVE-2026-124058totolink ca300-poeEPSS 0.5%
A weakness has been identified in TOTOLINK CA300-PoE 6.2c.884. Affected is the function setWiFiRepeaterConfig of the file /cgi-bin/cstecgi.cgi. Executing a manipulation of the argument ApCliKeyStr can lead to buffer overflow. The attack ca…
- 8.5CVE-2026-124057totolink ca300-poeEPSS 0.6%
A security flaw has been discovered in TOTOLINK CA300-PoE 6.2c.884. This impacts the function setWiFiMultipleConfig of the file /cgi-bin/cstecgi.cgi. Performing a manipulation of the argument Key1Str1 results in buffer overflow. The attack…
- 8.6CVE-2026-123961totolink ca300-poeEPSS 0.6%
A security vulnerability has been detected in TOTOLINK CA300-PoE 6.2c.884. This impacts the function setWiFiBasicConfig of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument KeyStr leads to buffer overflow. The attack may be i…
- 8.6CVE-2026-123960totolink ca300-poeEPSS 0.6%
A weakness has been identified in TOTOLINK CA300-PoE 6.2c.884. This affects the function setWanConfig of the file /cgi-bin/cstecgi.cgi. Executing a manipulation of the argument pppoeUser/priDns/secDns can lead to buffer overflow. The attac…
- 8.5CVE-2026-123959totolink ca300-poeEPSS 0.6%
A security flaw has been discovered in TOTOLINK CA300-PoE 6.2c.884. The impacted element is the function setLanguageCfg of the file /cgi-bin/cstecgi.cgi. Performing a manipulation of the argument langType results in buffer overflow. The at…
- 8.6CVE-2026-123958totolink ca300-poeEPSS 0.5%
A vulnerability was identified in TOTOLINK CA300-PoE 6.2c.884. The affected element is the function setLanConfig of the file /cgi-bin/cstecgi.cgi. Such manipulation of the argument lanDns/lanSecDns/langType leads to buffer overflow. It is …
- 8.6CVE-2026-123957totolink ca300-poeEPSS 0.5%
A vulnerability was determined in TOTOLINK CA300-PoE 6.2c.884. Impacted is the function setIpQosRules of the file /cgi-bin/cstecgi.cgi. This manipulation of the argument ipStart causes buffer overflow. It is possible to initiate the attack…
- 6.8CVE-2026-123199book-readers ebook-speakerEPSS 0.1%
eBook-speaker 6.1.0 through 6.2.0 contains a stack buffer overflow vulnerability in get_attributes() in src/common.c caused by an unbounded strcpy of an element's name attribute. Attackers can craft an EPUB or DAISY book with a name attrib…
- 8.1CVE-2026-76077esa asn1sccEPSS 0.4%
ASN1SCC is an open source ASN.1 compiler for embedded systems. Prior to 4.7.0.1, the XER tokenizer NT() in asn1crt/asn1crt_encoding_xer.c, which is reached by all XER decode paths, copies tag characters into a fixed char Value[100] field w…
- 9.8CVE-2026-48173samsung semiconductorEPSS 0.4%
In the NAS message handler, improper validation of the length field in NAS message causes memory corruption
- 8.3CVE-2026-87040zephyrproject zephyrEPSS 0.3%
The nRF link-layer receive paths of the open-source Bluetooth LE Controller did not validate the on-air LENGTH field of a received PDU against the maximum receive length that was used to program the radio. isr_rx_pdu() in subsys/bluetooth/…
- 7.5CVE-2026-95726hewlett packard enterprise (hpe) virtual intranet access (via)EPSS 0.5%
A buffer overflow vulnerability in HPE Networking VIA could allow an unauthenticated remote attacker to conduct a denial of service attack. Successful exploitation could allow an attacker to interrupt the normal operation of the affected c…
- 8.5CVE-2026-121603EPSS 0.8%
Solanum before commit 2ea1382 contains a buffer overflow vulnerability in ms_kill() that allows malicious linked servers to corrupt memory by sending an overlong kill reason. Attackers controlling a rogue or compromised peer server can sen…
- 6.9CVE-2026-109161welotecEPSS 0.3%
Insufficient bounds checking in the Digital I/O function may allow a remote attacker with high privileges to cause a denial of service.
- 8.8CVE-2026-76955zyxel nwa110ax firmwareEPSS 0.3%
A buffer overflow vulnerability in the zdp_wtp binary in Zyxel NWA110AX firmware versions through 7.12(ABTG.0)C0 could allow a LAN-based attacker to escalate privileges on an affected device.
- 7.5CVE-2026-120057EPSS 0.2%
psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, …