Security bug in ConvertToSinglePlane when used with untrusted content from the DDS loader
What to do
Vendor fix available. Upgrade each affected package to the fixed version on its release line (directxtex_uwp 2023.1.31.1; directxtex_desktop_2019 2023.1.31.1; directxtex_desktop_win10 2023.1.31.1), redeploy, then verify what is actually installed.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
NuGet directxtex_uwp
- Affected
- < 2023.1.31.1
- Fixed in
- 2023.1.31.1
NuGet directxtex_desktop_2019
- Affected
- < 2023.1.31.1
- Fixed in
- 2023.1.31.1
NuGet directxtex_desktop_win10
- Affected
- < 2023.1.31.1
- Fixed in
- 2023.1.31.1
Sources
- GitHub Advisory Database and maintainer security advisories on GitHub
GitHub-reviewed advisory GHSA-3w9w-9833-gcpv lists affected ranges: NuGet directxtex_desktop_2019 >=0 =0 =0 <2023.1.31.1
VerifiedObserved Structured GitHub Advisory Database record (type=reviewed) from the GitHub REST API.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS
- 6.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
- EPSS
- No dated EPSS signal available.
Source description
As published by the source; long descriptions are shortened.
Impact A memory overwrite bug was reported by a security researcher in the ConvertToSinglePlane method via the texconv command-line tool when given an invalid height for planar video textures such as NV12. This can be a potential security bug for any clients of the library who follow the same pattern. This issue does not impact use of the DDS texture loader itself, only when combined with ConvertToSinglePlane for converting multi-planar video formats. All other functions in the library fail immediately if given images in planar formats. Patches The fix to the specific area as well as general hardening can be found in this PR and will be included in the This bug has been fixed in the January 31, 2023 or later release of DirectXTex. Workarounds If your code makes use of ConvertToSinglePlane, you can validate that the width & height alignment requirements are met for the input image before calling the function.
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 1 · created ·
Published from ghsa record GHSA-3w9w-9833-gcpv
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: GHSA-3w9w-9833-gcpv Advisory: Security bug in ConvertToSinglePlane when used with untrusted content from the DDS loader IDs: GHSA-3w9w-9833-gcpv Record: https://patchnext.com/advisories/ghsa-3w9w-9833-gcpv (revision 1, source checked 26 Oct 2026, 16:59 UTC) Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected. Severity: Medium (CVSS 6.1) Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV. Vendor response: Vendor fix available; fixed versions by package: directxtex_uwp 2023.1.31.1; directxtex_desktop_2019 2023.1.31.1; directxtex_desktop_win10 2023.1.31.1. A vendor fix does not mean a deployment is fixed. ## Affected components - NuGet directxtex_uwp: affected < 2023.1.31.1; fixed in 2023.1.31.1 - NuGet directxtex_desktop_2019: affected < 2023.1.31.1; fixed in 2023.1.31.1 - NuGet directxtex_desktop_win10: affected < 2023.1.31.1; fixed in 2023.1.31.1 ## Suggested inspection (read-only) - NuGet directxtex_uwp: check the installed version with your package manager. - NuGet directxtex_desktop_2019: check the installed version with your package manager. - NuGet directxtex_desktop_win10: check the installed version with your package manager. ## Supported action Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version. ## Required regression checks - Run the test suite and a production build. - Exercise the features that depend on directxtex_uwp, directxtex_desktop_2019, directxtex_desktop_win10. - Repeat the inspection and confirm that only fixed versions remain installed. ## Rollback considerations - Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward. ## Unresolved questions - Which deployments run an affected version? - Exploitation status can change. Check again before lowering the priority. - Mark the work resolved only after the fixed version is verified in production. ## Sources - Verified: https://github.com/advisories/GHSA-3w9w-9833-gcpv (GitHub-reviewed advisory GHSA-3w9w-9833-gcpv lists affected ranges: NuGet directxtex_desktop_2019 >=0 =0 =0 <2023.1.31.1) Commands are suggestions: review each one before running it.
Loading voting…