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

目标: 1000 元 · 已筹: 1359 元

100%

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

CWE-134 使用外部控制的格式字符串 类弱点 151 条 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-120059 psqlODBC 远程代码执行漏洞 — psqlODBC 6.8 Medium 2026-11-02
CVE-2026-63201 netopeer2-server 子树过滤日志格式字符串漏洞 — netopeer2 7.1 High 2026-10-30
CVE-2026-45452 Unitronics 使用外部控制格式字符串漏洞 — Unitronics UniStream Pro/UniLogic 8.3 High 2026-10-15
CVE-2026-102062 Junos OS SRX系列 安全情报远程代码执行漏洞 — Junos OS 8.1 High 2026-10-14
CVE-2026-101965 Junos OS Evolved 网络分析遥测启用时遥测中断漏洞 — Junos OS Evolved 8.8 High 2026-10-14
CVE-2026-101966 Junos OS Evolved 遥测拨出守护进程拒绝服务漏洞 — Junos OS Evolved 8.2 High 2026-10-14
CVE-2026-94520 Microsoft SQL Server 拒绝服务漏洞 — Microsoft SQL Server 2017 (GDR) 4.9 Medium 2026-10-13
CVE-2026-83585 Windows NTFS 提权漏洞 — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-85842 Windows 图像获取提权漏洞 — Windows 10 Version 21H2 7.8 High 2026-10-13
CVE-2026-14157 华硕路由器受控格式字符串致远程命令执行漏洞 — Router 9.4 Critical 2026-10-01
CVE-2026-47494 NVIDIA Linux驱动格式字符串漏洞致代码执行 — GeForce 7.8 High 2026-09-30
CVE-2026-84691 Automation-controller 格式化字符串注入漏洞 — Red Hat Ansible Automation Platform 2.5 for RHEL 8 8.7 High 2026-09-23
CVE-2026-18461 RTI Connext 格式字符串注入漏洞 — Connext Professional 9.2 Critical 2026-09-22
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

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