A critical vulnerability, CVE-2025-50165, was discovered in the Windows Imaging Component (WIC), specifically within the WindowsCodecs.dll library. The flaw arises from the dereferencing of an uninitialized function pointer during the compression and re-encoding of JPEG images with 12-bit or 16-bit color depth, rather than during standard image decoding or rendering. Security researchers from ESET and Zscaler have analyzed the vulnerability, confirming that it could potentially allow remote code execution if a specially crafted JPEG file is processed by a vulnerable application that performs re-encoding, such as during thumbnail creation.
Despite the initial classification as a critical remote code execution risk, further technical analysis indicates that real-world exploitation is significantly constrained. Successful exploitation requires a precise set of conditions: the target application must use a vulnerable version of WindowsCodecs.dll and must re-encode, not just display, a malicious JPEG file. Simply opening or viewing a crafted image is insufficient to trigger the vulnerability, reducing the likelihood of mass exploitation. Microsoft has released a patch, and security experts recommend applying it, but the practical risk is lower than originally feared due to the complexity of the attack scenario.

See affected versions and whether adversaries are exploiting it.
4 events from the most recent confirmed update back to the earliest known activity.
Follow-on coverage summarized that CVE-2025-50165 could enable remote code execution only in complex attack scenarios, not through ordinary image viewing or decoding. The reporting emphasized patching systems that process untrusted image files.
ESET published research revisiting the Windows Imaging Component flaw, explaining that exploitation would require re-encoding non-standard JPEGs plus significant heap manipulation and address leakage. Its analysis supported Microsoft's view that widespread real-world exploitation was unlikely.
Microsoft issued fixes for CVE-2025-50165 in Windows Imaging Component, addressing a remote code execution risk tied to WindowsCodecs.dll. The remediation aligned with upstream fixes in libjpeg-turbo 3.1.1.
Windows Imaging Component installations using WindowsCodecs.dll versions 10.0.26100.0 through 10.0.26100.4945 were affected by CVE-2025-50165, a flaw in JPEG compression or re-encoding logic involving uninitialized function pointers. The issue affected handling of specially crafted 12-bit or 16-bit JPEG files under complex conditions.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
cybersecuritynews.com
Open sourcewelivesecurity.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.