1863 vulnerabilities classified as CWE-122 (堆缓冲区溢出). AI Chinese analysis included.
CWE-122 represents a critical memory safety weakness where an application writes data beyond the allocated boundaries of a heap-allocated buffer, typically created via functions like malloc. This vulnerability arises when developers fail to validate input lengths or perform insufficient bounds checking before copying data into dynamically allocated memory regions. Attackers exploit this flaw by crafting malicious inputs that exceed buffer limits, allowing them to overwrite adjacent heap metadata or control structures. Such overwrites can corrupt the heap manager’s internal state, leading to application crashes, data leakage, or arbitrary code execution by hijacking control flow. To prevent heap-based buffer overflows, developers must rigorously validate all input sizes against buffer capacities, utilize safe string handling libraries that enforce length limits, and employ modern memory-safe programming languages that automatically manage memory boundaries, thereby eliminating manual pointer arithmetic errors.
#define BUFSIZE 256 int main(int argc, char **argv) { char *buf; buf = (char *)malloc(sizeof(char)*BUFSIZE); strcpy(buf, argv[1]); }char * copy_input(char *user_supplied_string){ int i, dst_index; char *dst_buf = (char*)malloc(4*sizeof(char) * MAX_SIZE); if ( MAX_SIZE <= strlen(user_supplied_string) ){ die("user string too long, die evil hacker!"); } dst_index = 0; for ( i = 0; i < strlen(user_supplied_string); i++ ){ if( '&' == user_supplied_string[i] ){ dst_buf[dst_index++] = '&'; dst_buf[dst_index++] = 'a'; dst_buf[dst_index++] = 'm'; dst_buf[dst_index++] = 'p'; dst_buf[dst_index++] = ';'; } else if ('<' == user_supplied_string[i] ){ /* encode to < */ } else dst_buf[dst_index++] = user_supplied_string[i]; } return ds| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2020-4068 | Heap-based Buffer Overflow in APNSwift — APNSwift | 6.3 | Medium | 2020-06-22 |
| CVE-2020-7586 | 多款Siemens产品缓冲区错误漏洞 — SIMATIC PCS 7 V8.2 and earlier | 7.8 | - | 2020-06-10 |
| CVE-2020-10638 | Advantech WebAccess Node 缓冲区错误漏洞 — Advantech WebAccess Node | 9.8 | - | 2020-05-08 |
| CVE-2020-8899 | Memory corruption in Quram library when decoding qmg can lead to RCE — Android OS | 9.8 | - | 2020-05-06 |
| CVE-2020-10896 | Foxit 3D Plugin 缓冲区错误漏洞 — PhantomPDF | 7.8 | - | 2020-04-22 |
| CVE-2020-10646 | Fuji Electric V-Server Lite 缓冲区错误漏洞 — Fuji Electric V-Server Lite all versions prior to 4.0.9.0 | 7.8 | - | 2020-04-13 |
| CVE-2020-6970 | Emerson Electric OpenEnterprise SCADA Server 缓冲区错误漏洞 — OpenEnterprise SCADA Server | 8.1 | - | 2020-02-19 |
| CVE-2020-1711 | QEMU iSCSI Block驱动程序缓冲区错误漏洞 — QEMU | 7.7 | High | 2020-02-11 |
| CVE-2019-9502 | Broadcom wl driver is vulnerable to heap buffer overflow — WiFi drivers | 7.9 | High | 2020-02-03 |
| CVE-2019-9501 | Broadcom wl driver is vulnerable to heap buffer overflow — WiFi drivers | 7.9 | High | 2020-02-03 |
| CVE-2020-6007 | Philips Hue Bridge model 缓冲区错误漏洞 — Philips Hue Bridge 2.X | 7.9 | - | 2020-01-23 |
| CVE-2019-9500 | Broadcom brcmfmac driver is vulnerable to a heap buffer overflow — brcmfmac WiFi driver | 7.9 | High | 2020-01-16 |
| CVE-2019-15694 | TigerVNC 缓冲区错误漏洞 — TigerVNC | 7.2 | - | 2019-12-26 |
| CVE-2019-15693 | TigerVNC 缓冲区错误漏洞 — TigerVNC | 7.2 | - | 2019-12-26 |
| CVE-2019-15692 | TigerVNC 缓冲区错误漏洞 — TigerVNC | 7.2 | - | 2019-12-26 |
| CVE-2019-16778 | Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow — tensorflow | 2.6 | Low | 2019-12-16 |
| CVE-2019-18323 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18324 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18325 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18326 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18327 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18328 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18329 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18330 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18289 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18290 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 7.5 | - | 2019-12-12 |
| CVE-2019-18291 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 7.5 | - | 2019-12-12 |
| CVE-2019-18292 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 7.5 | - | 2019-12-12 |
| CVE-2019-18293 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 9.8 | - | 2019-12-12 |
| CVE-2019-18294 | Siemens SPPA-T3000 缓冲区错误漏洞 — SPPA-T3000 MS3000 Migration Server | 7.5 | - | 2019-12-12 |
Vulnerabilities classified as CWE-122 (堆缓冲区溢出) represent 1863 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.