Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-676 (潜在危险函数的使用) — Vulnerability Class 8

8 vulnerabilities classified as CWE-676 (潜在危险函数的使用). AI Chinese analysis included.

CWE-676 represents a design weakness where software invokes functions known to be inherently risky, such as those prone to buffer overflows or format string vulnerabilities, despite their potential for safe usage. Attackers typically exploit this flaw by manipulating input parameters to trigger undefined behavior, leading to memory corruption, arbitrary code execution, or denial of service. The vulnerability arises not from the function itself, but from improper implementation or lack of rigorous input validation surrounding its invocation. Developers mitigate this risk by replacing dangerous legacy functions with safer, bounds-checking alternatives provided by modern libraries. Additionally, employing static analysis tools to detect unsafe calls and enforcing strict coding standards that prohibit the use of deprecated APIs can significantly reduce the attack surface. Comprehensive testing and code reviews further ensure that any remaining necessary uses of these functions are handled with extreme caution and proper error handling.

MITRE CWE Description
The product invokes a potentially dangerous function that could introduce a vulnerability if it is used incorrectly, but the function can also be used safely.
Common Consequences (1)
Other Varies by Context, Quality Degradation, Unexpected State
If the function is used incorrectly, then it could result in security problems.
Mitigations (1)
Build and Compilation, Implementation Identify a list of prohibited API functions and prohibit developers from using these functions, providing safer alternatives. In some cases, automatic code analysis tools or the compiler can be instructed to spot use of prohibited functions, such as the "banned.h" include file from Microsoft's SDL. [REF-554] [REF-1009] [REF-7]
Examples (1)
The following code attempts to create a local copy of a buffer to perform some manipulations to the data.
void manipulate_string(char * string){ char buf[24]; strcpy(buf, string); ... }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2025-14601 vsDesk Task Scheduler OS Command Injection — vsDesk 8.6 High 2026-08-20
CVE-2026-14501 Use of Potentially Dangerous Functionthat in IBM Db2 Genius Hub — Db2 Genius Hub 4.3 Medium 2026-07-17
CVE-2025-67604 Fortinet FortiAnalyzer 安全漏洞 — FortiAnalyzer 5.2 Medium 2026-05-12
CVE-2025-65117 AVEVA Process Optimization Use of Potentially Dangerous Function — Process Optimization 7.4 High 2026-01-16
CVE-2024-50307 Chatwork 安全漏洞 — Chatwork Desktop Application (Windows) 8.8AI High AI 2024-10-28
CVE-2024-38434 Unitronics Vision PLC - CWE-676: Use of Potentially Dangerous Function — Vision PLC 6.5 Medium 2024-07-21
CVE-2022-39063 Open5GS 安全漏洞 — Open5GS 8.1 - 2022-09-16
CVE-2021-27474 Rockwell Automation FactoryTalk AssetCentre Use of Potentially Dangerous Function — FactoryTalk AssetCentre 10.0 Critical 2022-03-23

Vulnerabilities classified as CWE-676 (潜在危险函数的使用) represent 8 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.