ModelsimApplication · Siemens

CVE-2024-47196

HIGH · 7.3 CVSS v3.1 Published 2024-10-08
Fix available
A fix is available. Upgrade to 2024.3 or later.
See remediation →
73/100
Remediation priority · Elevated

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A vulnerability has been identified in ModelSim (All versions < V2025.2), Questa (All versions < V2025.2). vsimk.exe in affected applications allows a specific tcl file to be loaded from the current working directory. This could allow an authenticated local attacker to inject arbitrary code and escalate privileges in installations where administrators or processes with elevated privileges launch vsimk.exe from a user-writable directory.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

vsimk.exe in ModelSim and Questa loads a specific Tcl file from the current working directory instead of a secure, absolute path. An authenticated local attacker with write access to the directory from which vsimk.exe is launched can place a malicious Tcl file that will be executed with the privileges of the user running the application, enabling code injection and privilege escalation.

MitigationEnsure vsimk.exe is launched only from trusted, non-user-writable directories and avoid launching from directories where untrusted users have write access. Update to V2025.2 or later when available.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ModelsimApplication
Affected:< 2024.3
QuestaApplication
Affected:< 2024.3

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate vsimk.exe on the system
    Search for vsimk.exe in common installation directories such as C:\Mentor\, C:\modeltech_se\, or C:\questasim\. Use command: dir /s /b C:\vsimk.exe 2>nul or search in Program Files directories.
    Affected if vsimk.exe is found on the system and the installed version is below 2024.3
  2. Identify the installed ModelSim or Questa version
    Check the vsimk.exe file properties (right-click, Properties, Details tab) for the version number, or look for a version file in the installation directory. Common paths: C:\modeltech_se\win32\vsimk.exe or C:\questasim\win32\vsimk.exe
    Affected if The displayed version is lower than 2024.3 (for example, 2023.1, 2023.4, etc.)
  3. Determine the typical launch directory for vsimk.exe
    Review where users typically run vsimk.exe from. Check desktop shortcuts, start menu entries, or scripts that launch the application. Note the 'Start in' field of any shortcuts.
    Affected if vsimk.exe is launched from a directory where untrusted users have write permissions (such as shared folders, user-download directories, or network drives)
  4. Verify if a malicious Tcl file could be placed in the launch directory
    Inspect the permissions on directories from which vsimk.exe is commonly launched. Use icacls command on the typical working directory to check if write access is granted to users other than the owner.
    Affected if Users other than the owner can write files to the directory from which vsimk.exe is launched

You are affected if vsimk.exe is installed with a version lower than 2024.3 AND the application can be launched from a directory where untrusted users have write access, allowing them to place a malicious Tcl file.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2024.3 or later
Fixed in 2024.3
Interim mitigation

Ensure vsimk.exe is launched only from trusted, non-user-writable directories and avoid launching from directories where untrusted users have write access. Update to V2025.2 or later when available.

Recommended fix Moderate confidence

V2024.3 or later (V2025.2 recommended per official description)

  1. 1. Identify the current installed version of ModelSim or Questa by checking the application or running 'vsim -version'
  2. 2. Download the fixed version (V2024.3 or later, V2025.2 recommended based on official description) from the official vendor portal or Siemens cert-portal.siemens.com
  3. 3. Install the updated version following standard vendor installation procedures
  4. 4. Verify the installation by running 'vsim -version' to confirm the patched version is installed
  5. 5. Ensure that vsimk.exe is launched from a trusted, non-user-writable directory to avoid any residual risk

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Modelsim Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing1.0 h
  • Review / QA1.0 h
5.0 hours of engineering $910
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,456.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-47196 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-47196 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data