CWE-126 缓冲区上溢读取 类弱点 421 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-126 缓冲区过读是一种内存安全漏洞,指程序通过索引或指针访问了目标缓冲区之后的非法内存区域。攻击者利用此缺陷可读取敏感数据或引发程序崩溃,进而可能导致信息泄露或拒绝服务。开发者应避免此类问题,需严格验证内存访问边界,确保读写操作不超出缓冲区合法范围,并采用安全的内存管理函数以防止越界访问。
int processMessageFromSocket(int socket) { int success; char buffer[BUFFER_SIZE]; char message[MESSAGE_SIZE]; // get message from socket and store into buffer //Ignoring possibliity that buffer > BUFFER_SIZE if (getMessage(socket, buffer, BUFFER_SIZE) > 0) { // place contents of the buffer into message structure ExMessage *msg = recastBuffer(buffer); // copy message body into string for processing int index; for (index = 0; index < msg->msgLength; index++) { message[index] = msg->msgBody[index]; } message[index] = '\0'; // process message success = processMessage(message); } return success; }int main(int argc, char **argv) { char Filename[256]; char Pattern[32]; /* Validate number of parameters and ensure valid content */ ... /* copy filename parameter to variable, may cause off-by-one overflow */ strncpy(Filename, argv[1], sizeof(Filename)); /* copy pattern parameter to variable, may cause off-by-one overflow */ strncpy(Pattern, argv[2], sizeof(Pattern)); printf("Searching file: %s for the pattern: %s\n", Filename, Pattern); Scan_File(Filename, Pattern); }/* copy filename parameter to variable, no off-by-one overflow */ strncpy(Filename, argv[2], sizeof(Filename)-1); Filename[255]='\0'; /* copy pattern parameter to variable, no off-by-one overflow */ strncpy(Pattern, argv[3], sizeof(Pattern)-1); Pattern[31]='\0';| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2026-45684 | OpenTelemetry eBPF 日志增强器缓冲区越界读写漏洞 — opentelemetry-ebpf-instrumentation | 4.9 | Medium | 2026-06-02 |
| CVE-2025-59609 | WLAN主机通信缓冲区越界读取漏洞 — Snapdragon | 5.5 | Medium | 2026-06-01 |
| CVE-2026-6575 | PostgreSQL 安全漏洞 — PostgreSQL | 4.3 | Medium | 2026-05-14 |
| CVE-2026-8463 | crypt-argon2 安全漏洞 — Crypt::Argon2 | - | - | 2026-05-13 |
| CVE-2025-47406 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2026-05-04 |
| CVE-2025-47403 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.5 | Medium | 2026-05-04 |
| CVE-2025-47401 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.5 | Medium | 2026-05-04 |
| CVE-2026-34059 | Apache HTTP Server 安全漏洞 — Apache HTTP Server | 7.5 | - | 2026-05-04 |
| CVE-2026-6532 | Wireshark 安全漏洞 — Wireshark | 5.5 | Medium | 2026-04-30 |
| CVE-2026-6238 | GNU C Library 安全漏洞 — glibc | 8.2AI | HighAI | 2026-04-28 |
| CVE-2026-41898 | rust-openssl 安全漏洞 — rust-openssl | 9.8AI | CriticalAI | 2026-04-24 |
| CVE-2026-0930 | wolfSSH 安全漏洞 — wolfSSH | 8.1AI | HighAI | 2026-04-20 |
| CVE-2026-40341 | libgphoto2 安全漏洞 — libgphoto2 | 3.5 | Low | 2026-04-17 |
| CVE-2026-26184 | Microsoft Projected File System 安全漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-04-14 |
| CVE-2026-26169 | Microsoft Windows Kernel 安全漏洞 — Windows 10 Version 1607 | 6.1 | Medium | 2026-04-14 |
| CVE-2026-26155 | Microsoft Windows Local Security Authority Subsystem Service 安全漏洞 — Windows 10 Version 1607 | 6.5 | Medium | 2026-04-14 |
| CVE-2026-5772 | wolfSSL 安全漏洞 — wolfSSL | 7.5AI | HighAI | 2026-04-09 |
| CVE-2026-21381 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.6 | High | 2026-04-06 |
| CVE-2026-21378 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21376 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21375 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21374 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21373 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21371 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-21367 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.6 | High | 2026-04-06 |
| CVE-2025-47400 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.1 | High | 2026-04-06 |
| CVE-2025-47390 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-04-06 |
| CVE-2026-2394 | RTI Connext Professional 安全漏洞 — Connext Professional | 7.5AI | HighAI | 2026-04-01 |
| CVE-2025-66038 | OpenSC 安全漏洞 — OpenSC | 3.9 | Low | 2026-03-30 |
| CVE-2025-59600 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2026-03-02 |
CWE-126(缓冲区上溢读取) 是常见的弱点类别,本平台收录该类弱点关联的 421 条 CVE 漏洞。