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).

Exploitability

The vulnerability requires local access and user interaction to be exploited. It specifically manifests when invalid height parameters are provided for planar video textures through the texconv command-line tool. The attack complexity is rated as low, indicating that the vulnerability is relatively straightforward to exploit if the conditions are met (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-2026-70354HIGH7.8
  • C# logoC#
  • cpe:2.3:a:microsoft:visual_studio_2022
NoYesAug 11, 2026
CVE-2026-62909HIGH7.8
  • C# logoC#
  • aspnetcore-runtime-8.0
NoYesAug 11, 2026
GHSA-pfvm-w89x-94jwHIGH7.5
  • C# logoC#
  • SIPSorcery
NoYesAug 12, 2026
GHSA-jwjp-4649-v8jpHIGH7.5
  • C# logoC#
  • SIPSorcery
NoYesAug 12, 2026
CVE-2026-48798HIGH7.1
  • C# logoC#
  • SSH.NET
NoYesAug 12, 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