目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-134 使用外部控制的格式字符串 类漏洞列表 138

CWE-134 使用外部控制的格式字符串 类弱点 138 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-134 属于格式化字符串漏洞,指程序将源自外部不可信源的数据直接作为格式化字符串参数使用。攻击者可通过注入特定格式说明符(如 %x、%n)读取栈内存敏感信息或篡改内存数据,导致信息泄露或服务拒绝。开发者应避免直接使用用户输入作为格式化字符串,需采用硬编码格式模板并仅将用户数据作为参数传入,或严格过滤输入内容以消除安全风险。

MITRE CWE 官方描述
CWE:CWE-134 使用外部控制的格式字符串 (Use of Externally-Controlled Format String) 英文:产品使用了接受格式字符串 (format string) 作为参数的函数,但该格式字符串源自外部来源。
常见影响 (2)
Confidentiality Read Memory
Format string problems allow for information disclosure which can severely simplify exploitation of the program.
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
Format string problems can result in the execution of arbitrary code, buffer overflows, denial of service, or incorrect data representation.
缓解措施 (3)
Requirements Choose a language that is not subject to this flaw.
Implementation Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings. [REF-116] [REF-117]
Build and Compilation Run compilers and linkers with high warning levels, since they may detect incorrect usage.
代码示例 (2)
The following program prints a string provided as an argument.
#include <stdio.h> void printWrapper(char *string) { printf(string); } int main(int argc, char **argv) { char buf[5012]; memcpy(buf, argv[1], 5012); printWrapper(argv[1]); return (0); }
Bad · C
The following code copies a command line argument into a buffer using snprintf().
int main(int argc, char **argv){ char buf[128]; ... snprintf(buf,128,argv[1]); }
Bad · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-69395 Microsoft Active Directory Certificate Services 格式化字符串错误漏洞 — Windows 10 Version 1607 6.5 Medium 2026-09-08
CVE-2026-16821 IBM AIX 格式化字符串错误漏洞 — AIX 7.0 High 2026-08-28
CVE-2026-81574 WIBU-SYSTEMS CodeMeter Runtime 格式化字符串错误漏洞 — codemeter-runtime 8.2 High 2026-08-27
CVE-2026-63073 OpenSSL 格式化字符串错误漏洞 — OpenSSL - - 2026-08-25
CVE-2026-17136 IBM AIX 格式化字符串错误漏洞 — AIX 9.8 Critical 2026-08-20
CVE-2026-68553 Coturn 格式化字符串错误漏洞 — coturn 7.1 High 2026-08-19
CVE-2026-15961 IBM PowerVM Hypervisor 格式化字符串错误漏洞 — PowerVM Hypervisor 5.2 Medium 2026-08-19
CVE-2026-12004 IBM Security Verify Access 格式化字符串错误漏洞 — Security Verify Access 8.7 High 2026-08-12
CVE-2026-67244 ASUSTOR ADM 格式化字符串错误漏洞 — ADM 8.6 High 2026-07-30
CVE-2026-18188 ASUSTOR ADM 格式化字符串错误漏洞 — ADM 7.1 High 2026-07-30
CVE-2026-18187 ASUSTOR ADM 格式化字符串错误漏洞 — ADM 7.1 High 2026-07-30
CVE-2026-18186 ASUSTOR ADM 格式化字符串错误漏洞 — ADM 7.1 High 2026-07-30
CVE-2026-6390 GNU nano 格式化字符串错误漏洞 — Red Hat Enterprise Linux 10 6.8 Medium 2026-07-23
CVE-2024-58366 SurrealDB 格式化字符串错误漏洞 — surrealdb 8.5 High 2026-07-18
CVE-2026-15809 CRI-O 输出处理不当漏洞 — Red Hat OpenShift Container Platform 4.12 7.8 High 2026-07-15
CVE-2026-15680 LOREX 2K Indoor Wi-Fi Security Camera 格式化字符串错误漏洞 — 2K Indoor Wi-Fi Security Camera - - 2026-07-13
CVE-2026-46465 Dell PowerProtect Data Domain 格式化字符串错误漏洞 — PowerProtect Data Domain 5.5 Medium 2026-07-03
CVE-2026-57877 GeoVision GV-LPC2011 格式化字符串错误漏洞 — GV-LPCLPC2011/2211 8.6 High 2026-06-26
CVE-2026-10828 Moxa NPort W2150A-W4/W2250A-W4 Series 格式化字符串错误漏洞 — NPort W2150A-W4/W2250A-W4 Series - - 2026-06-16
CVE-2026-12174 D-Link DCS-935L 缓冲区错误漏洞 — DCS-935L 8.8 High 2026-06-13
CVE-2026-6250 TP-Link Tapo C110 格式化字符串错误漏洞 — Tapo C110 v2 - - 2026-06-11
CVE-2026-6242 TP-Link Tapo C520WS 安全漏洞 — Tapo C520WS v2 - - 2026-06-05
CVE-2026-6241 TP-Link Tapo C520WS 安全漏洞 — Tapo C520WS v2 - - 2026-06-05
CVE-2026-50211 Acer M6E 安全漏洞 — Connect M6E 5G Portable WiFi Router - - 2026-06-04
CVE-2026-7835 Netatalk 格式化字符串错误漏洞 — Netatalk 3.1 Low 2026-05-21
CVE-2026-6474 PostgreSQL 格式化字符串错误漏洞 — PostgreSQL 4.3 Medium 2026-05-14
CVE-2026-44407 ZTE Cloud PC client uSmartView 格式化字符串错误漏洞 — ZXCLOUD iRAI 4.7 Medium 2026-05-07
CVE-2026-6539 Notepad++ 格式化字符串错误漏洞 — Notepad++ 4.4 Medium 2026-04-30
CVE-2026-6843 Red Hat Enterprise Linux 格式化字符串错误漏洞 — Red Hat Enterprise Linux 10 5.5 Medium 2026-04-22
CVE-2026-3509 CODESYS Control runtime system 格式化字符串错误漏洞 — CODESYS Control RTE (SL) 7.5 High 2026-03-24

CWE-134(使用外部控制的格式字符串) 是常见的弱点类别,本平台收录该类弱点关联的 138 条 CVE 漏洞。