Skip to content

[Bug]: June 2026 DBX updates not applied during Windows Update when AvailableUpdates is non-zero #434

Closed

Description

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

This may not be the right place to file this - if not, please help to direct me to the right place.

Assume that you've got a PC with Windows 11 25H2 without the June 2026 security update installed and have followed the instructions on the Microsoft support page to apply the registry updates to ensure that the 2023 KEK and DB updates are applied.

This will result result in the AvailableUpdates value in HKLM\SYSTEM\CurrentControlSet\Control\Secureboot being set to 0x4000 assuming that all updates are applied successfully.

If you then install the June 2026 Windows 11 25H2 security update (KB5094126), you will find that the new DBX entries that are included with the update are not added into the device's secureboot variables.

Expected Behavior

The new DBX entries should be added into the device's secureboot variables. They are added into the device's secureboot variables if the AvailableUpdates registry value is 0.

The AvailableUpdates registry value should not have an impact on whether the DBX entries are applied as part of the June 2026 Windows update or not.

As it stands, devices with AvailableUpdates set to a non-zero value are in a weaker security position than those that have it set to zero.

Steps To Reproduce

  1. Download the Windows 11 25H2 ISO. The version I downloaded was the International English one.
  2. Setup a Hyper-V VM, enable TPM, add a DVD drive pointing at the ISO, and do not connect the network adapter.
  3. Install Windows onto the VM - you'll need to use the Shift+F10 and oobe\bypassnro trick to allow you to setup without the Internet.
  4. Wait about 5 minutes after Windows boots, and find that it has already updated the DB and KEK with the 2023 certs. AvailableUpdates will be 0, reboot for good measure.
  5. Run reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Secureboot /v AvailableUpdates /t REG_DWORD /d 0x5944 /f followed by Start-ScheduledTask -TaskName "\Microsoft\Windows\PI\Secure-Boot-Update" to re-trigger the DB and KEK updates. Wait a minute or two, the AvailableUpdates registry value should change to 0x4000.
  6. Reboot for good measure.
  7. Connect the VM to the Internet using the Default Switch.
  8. Install the June 2026 update by searching for "Check for Updates" in the start menu.
  9. Reboot.
  10. Run Get-SecureBootUEFI -Name dbx -Decoded and find that the new 2026-04-09 entries are not included in the DBX.
Image
  1. Create a brand new VM, follow steps 2-4 and then 7-10. You'll find that the 2026-04-08 entries are included in the DBX.
Image

Build Environment

- OS(s): Windows 11 25H2
- Tool Chain(s): N/A
- Targets Impacted: RELEASE

Version Information

N/A

Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

No response

Activity

  1. added
    type:bug
    state:needs-triage
    on Jun 12, 2026
  2. added
    state:needs-maintainer-feedback
    state:needs-owner
    urgency:medium
    on Jun 12, 2026
  3. olkorsha commented on Jun 12, 2026

    @olkorsha
    Collaborator

    Looks interesting, not the right channel, but lets troubleshoot regardless! :)

    Can you share the full state of your DB and KEK?

  4. ianjoneill commented on Jun 12, 2026

    @ianjoneill
    Author

    Ah, sorry about that. Thank you for offering to help! The state of the variables are as follows:

    DB:

    PS C:\Users\Ian> Get-SecureBootUEFI -Name db -Decoded
    
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 61077656000000000008
    ValidFrom      : 2011-10-19 19:41:42Z
    ValidTo        : 2026-10-19 19:51:42Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Windows UEFI CA 2023, O=Microsoft Corporation, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 330000001A888B9800562284C100000000001A
    ValidFrom      : 2023-06-13 19:58:29Z
    ValidTo        : 2035-06-13 20:08:29Z
    

    KEK:

    PS C:\Users\Ian> Get-SecureBootUEFI -Name kek -Decoded
    
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Corporation KEK CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 610AD188000000000003
    ValidFrom      : 2011-06-24 21:41:29Z
    ValidTo        : 2026-06-24 21:51:29Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Corporation KEK 2K CA 2023, O=Microsoft Corporation, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 33000000131416B8616D82824B000000000013
    ValidFrom      : 2023-03-02 20:21:35Z
    ValidTo        : 2038-03-02 20:31:35Z
    

    Thanks again.

    Edit: The DB and KEK are the same on both machines - the one with AvailableUpdates set to 0x4000 and the one with it set to 0.

  5. ianjoneill commented on Jun 12, 2026

    @ianjoneill
    Author

    It's worth pointing out that I had the same issue on my physical machine, which is why I investigated further in a VM. The physical machine has the "Microsoft Corporation UEFI CA 2011" cert in the DB too, so I'd definitely expect the additional DBX entries to appear.

    DB:

    PS C:\Users\Ian> Get-SecureBootUEFI -Name db -Decoded
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 61077656000000000008
    ValidFrom      : 2011-10-19 19:41:42Z
    ValidTo        : 2026-10-19 19:51:42Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Corporation UEFI CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 6108D3C4000000000004
    ValidFrom      : 2011-06-27 22:22:45Z
    ValidTo        : 2026-06-27 22:32:45Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Windows UEFI CA 2023, O=Microsoft Corporation, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 330000001A888B9800562284C100000000001A
    ValidFrom      : 2023-06-13 19:58:29Z
    ValidTo        : 2035-06-13 20:08:29Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft UEFI CA 2023, O=Microsoft Corporation, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 330000001636BF36899F1575CC000000000016
    ValidFrom      : 2023-06-13 20:21:47Z
    ValidTo        : 2038-06-13 20:31:47Z
    
    SignatureOwner : 77fa9abd-0359-4d32-bd60-28f4e78f784b
    Subject        : CN=Microsoft Option ROM UEFI CA 2023, O=Microsoft Corporation, C=US
    Version        : 3
    Algorithm      : sha256RSA
    SerialNumber   : 3300000017B3EC4D8F01E27005000000000017
    ValidFrom      : 2023-10-26 20:02:20Z
    ValidTo        : 2038-10-26 20:12:20Z
    

    The KEK is the same as in the previous post.

  6. garlin-cant-code commented on Jun 12, 2026

    @garlin-cant-code

    I can confirm, after restarting Windows to apply June 2026 LCU, the Secure Boot task will ignore 0x2 and 0x200 values to push the missing DBX updates (+11 EFI, SVN 9.0).

    Even after another Windows restart, just in case the Secure Boot task was being picky about checking for the latest attestation values.

  7. olkorsha commented on Jul 1, 2026

    @olkorsha
    Collaborator

    Thanks for the report, confirmed bug, we were able to repro it locally. Not sure when a fix for it will go out yet

  8. ianjoneill commented on Jul 15, 2026

    @ianjoneill
    Author

    Thank you olkorsha - this appears to have been addressed in the July 2026 patch Tuesday update. The DBX variables for all my machines now contain the missing hashes, including the additional ones in #448. Therefore closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs-maintainer-feedbackstate:needs-ownerstate:needs-triagetype:bugurgency:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions