CWE-126 缓冲区上溢读取 类弱点 494 条 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-2024-38416 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2025-02-03 |
| CVE-2024-38414 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2025-02-03 |
| CVE-2024-38404 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2025-02-03 |
| CVE-2025-21176 | Microsoft .NET、Microsoft .NET Framework和Microsoft Visual Studio 安全漏洞 — .NET 8.0 | 8.8 | High | 2025-01-14 |
| CVE-2025-21277 | Microsoft Message Queuing 安全漏洞 — Windows 10 Version 1507 | 7.5 | High | 2025-01-14 |
| CVE-2025-21271 | Microsoft Windows Cloud Files Mini Filter Driver 安全漏洞 — Windows 10 Version 1809 | 7.8 | High | 2025-01-14 |
| CVE-2024-45559 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 5.5 | Medium | 2025-01-06 |
| CVE-2024-45558 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2025-01-06 |
| CVE-2024-45548 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2025-01-06 |
| CVE-2024-45546 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.8 | High | 2025-01-06 |
| CVE-2024-43063 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2025-01-06 |
| CVE-2024-33067 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2025-01-06 |
| CVE-2024-33061 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.8 | Medium | 2025-01-06 |
| CVE-2024-23366 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.6 | Medium | 2025-01-06 |
| CVE-2024-49088 | Microsoft Windows Common Log File System Driver 安全漏洞 — Windows 10 Version 1507 | 7.8 | High | 2024-12-10 |
| CVE-2024-33056 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 8.4 | High | 2024-12-02 |
| CVE-2024-33037 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 6.1 | Medium | 2024-12-02 |
| CVE-2024-42333 | Zabbix 安全漏洞 — Zabbix | 2.7 | Low | 2024-11-27 |
| CVE-2018-5852 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 8.4 | High | 2024-11-26 |
| CVE-2017-17772 | Android 安全漏洞 — Snapdragon | 8.8 | Critical | 2024-11-26 |
| CVE-2024-11596 | Wireshark 安全漏洞 — Wireshark | 7.8 | High | 2024-11-21 |
| CVE-2024-49031 | Microsoft Graphics Component 安全漏洞 — Microsoft Office LTSC for Mac 2024 | 7.8 | High | 2024-11-12 |
| CVE-2024-9843 | Ivanti Secure Access Client 安全漏洞 — Secure Access Client | 5.0 | Medium | 2024-11-12 |
| CVE-2024-38405 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2024-11-04 |
| CVE-2024-38403 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2024-11-04 |
| CVE-2024-43595 | Microsoft Edge 安全漏洞 — Microsoft Edge (Chromium-based) | 6.5 | Medium | 2024-10-17 |
| CVE-2024-43500 | Microsoft Windows Resilient File System 安全漏洞 — Windows 11 version 22H2 | 5.5 | Medium | 2024-10-08 |
| CVE-2024-38397 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2024-10-07 |
| CVE-2024-33073 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 8.2 | High | 2024-10-07 |
| CVE-2024-33071 | Qualcomm Chipsets 安全漏洞 — Snapdragon | 7.5 | High | 2024-10-07 |
CWE-126(缓冲区上溢读取) 是常见的弱点类别,本平台收录该类弱点关联的 494 条 CVE 漏洞。