Every CVESearch/Get API key

GHSA-3w9w-9833-gcpv

Security bug in ConvertToSinglePlane when used with untrusted content from the DDS loader

6.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
Low

What each source reports

GitHub Advisories Score used6.1

Security bug in ConvertToSinglePlane when used with untrusted content from the DDS loader

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.

Record
GHSA-3w9w-9833-gcpv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Updated
2026-11-02
OSV6.1

Security bug in ConvertToSinglePlane when used with untrusted content from the DDS loader

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.

Record
GHSA-3w9w-9833-gcpv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
directxtex_desktop_2019
NuGet
before 2023.1.31.1
2023.1.31.1
directxtex_desktop_win10
NuGet
before 2023.1.31.1
2023.1.31.1
directxtex_uwp
NuGet
before 2023.1.31.1
2023.1.31.1
directxtex_desktop_2019
NuGet
before 2023.1.31.1, plus listed versions
2022.10.18.12022.12.18.12022.5.10.12022.7.30.1
2023.1.31.1
directxtex_desktop_win10
NuGet
before 2023.1.31.1, plus listed versions
2018.11.20.12019.10.17.12019.12.17.12019.2.7.12019.4.26.1
Show 21 moreShow less
2019.5.31.12019.8.23.12020.11.12.12020.2.15.12020.5.11.12020.6.15.12020.6.2.12020.7.2.12020.8.15.12020.9.30.12021.1.10.22021.11.8.12021.4.7.22021.6.10.12021.8.2.12022.10.18.12022.12.18.12022.3.1.12022.3.24.12022.5.10.12022.7.30.1
2023.1.31.1
directxtex_uwp
NuGet
before 2023.1.31.1, plus listed versions
2017.11.1.12017.12.13.12018.10.26.12018.11.20.12018.2.9.1
Show 31 moreShow less
2018.4.23.12018.5.11.12018.6.1.22018.7.4.12018.8.18.22018.8.5.12019.10.17.12019.12.17.12019.2.7.12019.4.26.12019.5.31.12019.8.23.12020.11.12.12020.2.15.12020.5.11.12020.6.15.12020.6.2.12020.7.2.12020.8.15.12020.9.30.12021.1.10.22021.11.8.12021.4.7.22021.6.10.12021.8.2.12022.10.18.12022.12.18.12022.3.1.12022.3.24.12022.5.10.12022.7.30.1
2023.1.31.1

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-3w9w-9833-gcpv is a medium vulnerability (CVSS 6.1) in directxtex_desktop_2019, published January 26, 2023. No source lists public exploit code. Fixed in directxtex_desktop_2019 2023.1.31.1.

References

MoveEnter Open