← KB reference
Security update

KB5058405

Windows 11

Released
May 13, 2025
OS builds
22621.5335, 22631.5335
CVEs fixed
38
Exploited
5

A newer update replaces it

Windows updates are cumulative: a machine with the newer one, or anything later for the same Windows version, already has KB5058405's fixes. Install the newest instead.

A machine already has it when its build is at or above the one for its Windows version below. winver shows it, or (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').UBR for the last part.

Known issues

We haven't reviewed KB5058405's release notes yet. Microsoft lists known issues on its page for KB5058405.

Windows versions and fixed builds

Windows versionFixed in build
Windows 11 Version 22H2 for ARM64-based Systems10.0.22621.5335
Windows 11 Version 22H2 for x64-based Systems10.0.22621.5335
Windows 11 Version 23H2 for ARM64-based Systems10.0.22631.5335
Windows 11 Version 23H2 for x64-based Systems10.0.22631.5335

CVEs it fixes 38

Exploited and highest-scoring first. The other 23 are folded below.

CVECVSSWhat it is
CVE-2025-30400exploited 7.8 Use after free in Windows DWM allows an authorized attacker to elevate privileges locally.
CVE-2025-32701exploited 7.8 Use after free in Windows Common Log File System Driver allows an authorized attacker to elevate privileges locally.
CVE-2025-32706exploited 7.8 Improper input validation in Windows Common Log File System Driver allows an authorized attacker to elevate privileges locally.
CVE-2025-32709exploited 7.8 Null pointer dereference in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
CVE-2025-30397exploited 7.5 Access of resource using incompatible type ('type confusion') in Microsoft Scripting Engine allows an unauthorized attacker to execute code over a network.
CVE-2025-29840 8.8 Stack-based buffer overflow in Windows Media allows an unauthorized attacker to execute code over a network.
CVE-2025-29962 8.8 Heap-based buffer overflow in Windows Media allows an unauthorized attacker to execute code over a network.
CVE-2025-29963 8.8 Heap-based buffer overflow in Windows Media allows an unauthorized attacker to execute code over a network.
CVE-2025-29964 8.8 Heap-based buffer overflow in Windows Media allows an unauthorized attacker to execute code over a network.
CVE-2025-29966 8.8 Heap-based buffer overflow in Windows Remote Desktop allows an unauthorized attacker to execute code over a network.
CVE-2025-29967 8.8 Heap-based buffer overflow in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
CVE-2025-24063 7.8 Heap-based buffer overflow in Windows Kernel allows an authorized attacker to elevate privileges locally.
CVE-2025-30385 7.8 Use after free in Windows Common Log File System Driver allows an authorized attacker to elevate privileges locally.
CVE-2025-30388 7.8 Heap-based buffer overflow in Windows Win32K - GRFX allows an unauthorized attacker to execute code locally.
CVE-2025-47955 7.8 Improper privilege management in Windows Remote Access Connection Manager allows an authorized attacker to elevate privileges locally.
Show the other 23 CVEs

Supersedence in Microsoft's data

Replaces

  • KB5055528 April 2025 · Windows 11 Version 23H2, Windows 11 Version 22H2

Replaced by

  • KB5060999 June 2025 · Windows 11 Version 23H2, Windows 11 Version 22H2

Get it

Questions

What is KB5058405?

KB5058405 is Microsoft's May 13, 2025 security update for Windows 11, OS build 22621.5335 and 22631.5335. It fixes 38 security vulnerabilities, including CVE-2025-30400, CVE-2025-32701, CVE-2025-32706, which CISA lists as exploited in the wild.

Do I still need KB5058405 if a newer update is installed?

No. KB5121767, KB5131087 are newer for the same Windows version and cumulative, so a machine with one of them or anything later already has KB5058405's fixes.

Does KB5058405 have known issues?

We haven't reviewed KB5058405's release notes yet. Microsoft lists known issues at https://support.microsoft.com/help/5058405.

From Microsoft's Security Update Guide and Windows update history, as RFF last indexed them on November 25, 2026. RFF checks these same builds on every Windows machine it manages. CVE catalog · All recent updates