ScreenToGif is a screen recording tool. In versions from 2.42.1 and prior, ScreenToGif is vulnerable to DLL sideloading via version.dll . When the portable executable is run from a user-writable directory, it loads version.dll from the application directory instead of the Windows System32 directory, allowing arbitrary code execution in the user's context. This is especially impactful because ScreenToGif is primarily distributed as a portable application intended to be run from user-writable locations. At time of publication, there are no publicly available patches.
Description as published by the source, in English.
Key facts
Published
2026-03-20
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
security-advisories@github.com
Probability of exploitation
0.2 %
higher than 13 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1574.001: DLL stealth, execution
T1574.004: Dylib Hijacking stealth, execution
T1574.007: Path Interception by PATH Environment Variable stealth, execution
T1574.008: Path Interception by Search Order Hijacking stealth, execution
T1574.009: Path Interception by Unquoted Path stealth, execution