Vulnerability DatabaseGHSA-3w9w-9833-gcpv

GHSA-3w9w-9833-gcpv
C# vulnerability analysis and mitigation

Overview

A security vulnerability (GHSA-3w9w-9833-gcpv) was discovered in Microsoft's DirectXTex library, specifically affecting the ConvertToSinglePlane method. The vulnerability was disclosed on January 25, 2023, and affects multiple versions of DirectXTex packages including directxtex_desktop_2019, directxtex_desktop_win10, and directxtex_uwp versions prior to 2023.1.31.1. The issue involves a memory overwrite bug that occurs when processing invalid height parameters for planar video textures such as NV12 (GitHub Advisory).

Technical details

The vulnerability stems from a failure to validate height alignment requirements for input images in the ConvertToSinglePlane method. This oversight can lead to memory overwrite vulnerabilities when untrusted content is passed from the DDS loader directly to this function. The vulnerability has been assigned a CVSS score of 6.1 (Moderate severity) with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L. The attack vector is local, with low attack complexity, requiring no privileges but user interaction (GitHub Advisory).

Impact

The vulnerability specifically affects scenarios where the ConvertToSinglePlane method is used in conjunction with multi-planar video formats. While the DDS texture loader itself is not directly impacted, the vulnerability can lead to memory overwrites when processing untrusted content. The CVSS metrics indicate high confidentiality impact and low availability impact, with no integrity impact (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in the January 31, 2023 release (version 2023.1.31.1) of DirectXTex. The fix includes validation of height alignment requirements and additional hardening for the DDS loader, ComputePitch, and DDSTextureLoader modules. For users unable to update immediately, a workaround is available by implementing validation of width and height alignment requirements for input images before calling the ConvertToSinglePlane function (GitHub PR, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68924HIGH7.5
  • C#C#
  • UmbracoForms
NoNoJan 16, 2026
GHSA-qp59-x883-77qvMEDIUM6.5
  • C#C#
  • Magick.NET-Q8-OpenMP-x64
NoYesJan 21, 2026
CVE-2026-23952MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-HDRI-x86
NoYesJan 21, 2026
CVE-2026-22770MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJan 20, 2026
CVE-2026-23874MEDIUM5.5
  • C#C#
  • seal-ImageMagick
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management