CWE-94: Improper Control of Generation of Code

5772 CVEs have CWE-94 as their primary weakness. 72 of them are in the CISA KEV catalog. The highest EPSS score among them is 99.999%.

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Child of CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2017-98412017-06-27CRITICAL9.899.999%Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a…
CVE-2015-16352015-04-14CRITICAL9.899.999%HTTP.sys in Microsoft Windows 7 SP1, Windows Server 2008 R2 SP1, Windows 8, Windows 8.1, and Windows Server 2012 Gold and R2 allows remote attackers to execute…
CVE-2022-229542022-04-11CRITICAL9.899.998%VMware Workspace ONE Access and Identity Manager contain a remote code execution vulnerability due to server-side template injection. A malicious actor with…
CVE-2025-497042025-07-08HIGH8.899.996%Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
CVE-2021-222042021-04-23MEDIUM6.899.981%Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing the malicious image
CVE-2012-01582012-04-10HIGH8.899.976%The (1) ListView, (2) ListView2, (3) TreeView, and (4) TreeView2 ActiveX controls in MSCOMCTL.OCX in the Common Controls in Microsoft Office 2003 SP3, 2007 SP2…
CVE-2022-229632022-04-01CRITICAL9.899.938%In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a…
CVE-2022-248162022-04-13CRITICAL10.099.929%JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request…
CVE-2025-324322025-04-25CRITICAL10.099.792%Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from version 3.0.0-RC1 to before 3.9.15…
CVE-2021-222052021-04-23CRITICAL10.099.731%An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a…
CVE-2019-167592019-09-24CRITICAL9.899.728%vBulletin 5.x through 5.5.4 allows remote command execution via the widgetConfig[code] parameter in an ajax/render/widget_php routestring request.
CVE-2023-35192023-07-19CRITICAL9.899.715%Unauthenticated remote code execution
CVE-2022-229652022-04-01CRITICAL9.899.638%A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires…
CVE-2017-74942017-05-30CRITICAL9.899.448%Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious client to upload a…
CVE-2014-62872014-10-07CRITICAL9.899.323%The findMacroMarker function in parserLib.pas in Rejetto HTTP File Server (aks HFS or HttpFileServer) 2.3x before 2.3c allows remote attackers to execute…
CVE-2018-76022018-07-19CRITICAL9.899.172%A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack…
CVE-2021-445292021-12-08CRITICAL9.899.105%A code injection vulnerability in the Ivanti EPM Cloud Services Appliance (CSA) allows an unauthenticated user to execute arbitrary code with limited…
CVE-2022-32362022-09-23CRITICAL9.898.905%A code injection vulnerability in the User Portal and Webadmin allows a remote attacker to execute code in Sophos Firewall version v19.0 MR1 and older.
CVE-2008-42502008-10-23CRITICAL9.898.751%The Server service in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, Server 2008, and 7 Pre-Beta allows remote…
CVE-2026-12812026-01-29CRITICAL9.898.688%A code injection in Ivanti Endpoint Manager Mobile allowing attackers to achieve unauthenticated remote code execution.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources