r/exchangeserver • • Oct 15 '26

Did kb5128895 break your server?

We installed kb5128895 yesterday and the server did not reboot after but I noticed this morning that no email is coming in from external domains and we cannot even email within the organization. In outlook it goes into sent items but doesn't actually deliver. Just seeing if anyone else also had this issue?

49 Upvotes

78 comments sorted by

32

u/xendr0me Oct 15 '26

See the update at the top of the Exchange Team Blog - https://techcommunity.microsoft.com/blog/exchange/released-october-2026-exchange-server-security-updates/4563014

Also, thank you for your and the other beta testers service. I salute you.

-10

u/HJForsythe Oct 15 '26

Your snark is weird given this note on that same page:

Installation of October 2026 Exchange updates is not required for issues to occur. We are investigating this with our Windows partners.

11

u/xendr0me Oct 15 '26

I'm on September SU, no issues. Look at the comments. Some folks installed just KB5128895 and they have the issue. Anyone who wants to install it ~24 hours after release is taking a gamble, I've seen it numerous times, repeating over and over. Unless it's a actively exploited zero day, then I'm holding for at least 72 hours from release, and every time i do that, it pays off greatly.

-10

u/HJForsythe Oct 15 '26

That's cool and all but I've been running Exchange since 5.5 and an update has never broken mail flow. One time a CU didn't put the services back into the correct startup states and that was mildly annoying.

4

u/xendr0me Oct 15 '26

5.5 here also, not everyone's setup is the same so different issues can crop up, but having a large pool of testers (the 24-72 hour folks) is a good test against real world production scenarios that are deployed.

2

u/HJForsythe Oct 15 '26

With the speed at which vulns are turning into active exploits (I saw one that was about 40 minutes the other day) I cannot imagine delaying patching but everyone has their own priorities.

2

u/xendr0me Oct 15 '26

I'd agree in some cases, but you have to consider case by case, my resources are not open to the public, we have a heavy Cloudflare gateway/application presence in front of access to our Exchange infra. So only permitted traffic is getting in, not everyone is like that, most people just have OWA open to the world. In that case, of course, way different.

5

u/HJForsythe Oct 15 '26

Oh ours isn't open to the internet at all. Only our email security provider's IPs can connect to SMTP from outside and even that is proxied. 443 is totally dead from outside. Still worried about inside though. We haven't had 443 open to the internet since the great web shell dumpster fire of 2021.

3

u/IamBabcock Oct 16 '26 edited Oct 16 '26

What are you looking to accomplish with your post if you're going to argue with the people trying to help you? If you are so experienced with Exchange you may want to include all of the advanced troubleshooting you've done before asking this sub for help so you don't waste everyone's time.

5

u/Dapper-Giraffe6444 Oct 16 '26

message from exchange PG :

 Mitigation
1.  Do not uninstall the October Windows Updates.
2.  From an elevated Command Prompt, run:
reg add "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCap /t REG_DWORD /d 65536 /f
3.  Reboot the server.
4.  After the reboot, monitor the environment and confirm whether the issue recurs.

 

5

u/rynoduder Oct 16 '26

I tested the RPC context counter findings on our production Exchange Server SE running Windows Server 2025 with the October update installed.

My results at 9:25 AM today:

RpcEpMap.dll : 10.0.26100.33648
ContextLimit : 512
ContextsUsed : 65
Remaining    : 447
PercentUsed  : 12.7%

This independently confirms that the reported 512 limit is present in our running RPC Endpoint Mapper process. The current counter is consistent with the offsets identified in the original analysis.

For anyone wanting to check their own server, here's a read-only PowerShell diagnostic. It does not change the registry, write process memory, or restart services.

Important: This is an unofficial diagnostic specifically for rpcepmap.dll version 10.0.26100.33648 on Windows Server 2025. It will refuse other DLL versions, and the memory offsets are not Microsoft-documented. Run using elevated 64-bit PowerShell.

& {
    $ErrorActionPreference = 'Stop'

    try {
        if (-not ('RpcContextReader' -as [type])) {
            Add-Type -TypeDefinition @'
using System;
using System.Runtime.InteropServices;
public static class RpcContextReader {
    [DllImport("kernel32.dll", SetLastError=true)]
    public static extern IntPtr OpenProcess(
        uint access, bool inherit, int pid);

    [DllImport("kernel32.dll", SetLastError=true)]
    public static extern bool ReadProcessMemory(
        IntPtr process, IntPtr address,
        byte[] buffer, int size, out IntPtr read);

    [DllImport("kernel32.dll", SetLastError=true)]
    public static extern bool CloseHandle(IntPtr handle);
}
'@
        }

        if (-not [Environment]::Is64BitProcess) {
            throw "Requires 64-bit PowerShell."
        }

        $svc = Get-CimInstance Win32_Service `
            -Filter "Name='RpcEptMapper'"

        if ($svc.State -ne 'Running') {
            throw "RPC Endpoint Mapper is not running."
        }

        $procId = [int]$svc.ProcessId

        $mod = Get-Process -Id $procId -Module `
            -ErrorAction Stop |
            Where-Object ModuleName -eq 'rpcepmap.dll' |
            Select-Object -First 1

        if (-not $mod) {
            throw "RPC DLL not found."
        }

        $v = (Get-Item $mod.FileName).VersionInfo
        $version = '{0}.{1}.{2}.{3}' -f `
            $v.FileMajorPart, $v.FileMinorPart,
            $v.FileBuildPart, $v.FilePrivatePart

        if ($version -ne '10.0.26100.33648') {
            throw "Unsupported DLL version: $version"
        }

        $h = [RpcContextReader]::OpenProcess(
            0x1010, $false, $procId)

        if ($h -eq [IntPtr]::Zero) {
            throw "Cannot open RPC process."
        }

        try {
            $base = $mod.BaseAddress.ToInt64()
            $values = @{}

            foreach ($entry in @(
                @{Name='Cap'; Offset=0x1C5EC},
                @{Name='Used'; Offset=0x1CD50}
            )) {
                $buffer = New-Object byte[] 4
                $bytes = [IntPtr]::Zero
                $addr = [IntPtr]::new(
                    [long]($base + $entry.Offset))

                $ok = [RpcContextReader]::ReadProcessMemory(
                    $h, $addr, $buffer, 4, [ref]$bytes)

                if (-not $ok -or $bytes.ToInt64() -ne 4) {
                    throw "Failed reading $($entry.Name)."
                }

                $values[$entry.Name] =
                    [BitConverter]::ToUInt32($buffer, 0)
            }

            if ($values.Cap -ne 512) {
                throw "Unexpected cap: $($values.Cap). " +
                      "Offsets or configuration need verification."
            }

            if ($values.Used -gt $values.Cap) {
                throw "Counter exceeds cap; manual verification needed."
            }

            [PSCustomObject]@{
                Timestamp    = Get-Date
                DLLVersion   = $version
                ContextLimit = $values.Cap
                ContextsUsed = $values.Used
                Remaining    = $values.Cap - $values.Used
                PercentUsed  = [math]::Round(
                    100 * $values.Used / $values.Cap, 1)
            } | Format-List
        }
        finally {
            [void][RpcContextReader]::CloseHandle($h)
        }
    }
    catch {
        Write-Warning $_.Exception.Message
    }
}

The script deliberately expects the default cap of 512. Servers with an explicit registry override may require separate validation.

It would be interesting to see readings from other affected servers, particularly the context count relative to uptime and whether it increases steadily until Exchange connectivity fails.

We're collecting additional measurements on our server before making any changes.

2

u/rynoduder Oct 16 '26

Update from our production Exchange SE server running Windows Server 2025 with KB5126646 installed.

We've been monitoring RPC saved contexts using the PowerShell diagnostic against rpcepmap.dll version 10.0.26100.33648.

Time (CDT)Contexts UsedUtilization
9:25 AM65 / 51212.7%
10:53 AM101 / 51219.7%
1:45 PM169 / 51233.0%
3:33 PM212 / 51241.4%

That's an increase of 147 contexts over approximately 6 hours, averaging 24 contexts per hour, with no decreases observed across seven measurements.

At this rate, the 512 limit would be reached around 4 AM Saturday, assuming growth continues unchanged.

We're continuing to monitor without modifying the registry.

1

u/Dramatic-Mall-2464 Oct 18 '26

I do see almost exact readings with 24 adds per hour in the last 30 hours on about 50 servers in multiple exchange enviroments. So it seems to be more a matter of time issue then the actual load of the servers. 

1

u/999999potato Oct 16 '26

Any idea what the offsets are for Server 2019 so I can check/monitor ours?

1

u/rynoduder Oct 16 '26

Unfortunately, I don't have verified offsets for Server 2019. The offsets in my script (0x1C5EC and 0x1CD50) are specific to rpcepmap.dll version 10.0.26100.33648 on Server 2025.

The offsets would need to be identified and validated against the Server 2019 binary before attempting to read those counters.

Try this script.

$dll = Get-Item "$env:windir\System32\rpcepmap.dll"
$v = $dll.VersionInfo

[PSCustomObject]@{
    Version = '{0}.{1}.{2}.{3}' -f `
        $v.FileMajorPart,$v.FileMinorPart,
        $v.FileBuildPart,$v.FilePrivatePart
    SHA256 = (Get-FileHash $dll.FullName -Algorithm SHA256).Hash
    Size   = $dll.Length
} | Format-List

That should identify the exact DLL version you're running. The 2025 offsets should not be reused on Server 2019.

1

u/999999potato Oct 16 '26

Thanks, output is:
Version : 10.0.17763.9376

SHA256 : 51BC317434F4B971DA40B35E10B78695FF0BEB63CCD36AD5149AEC8F63F60038

Size : 110592

2

u/rynoduder Oct 16 '26

The next step is identifying the equivalent counter locations in that specific binary. Unfortunately, the version and SHA256 alone aren't sufficient to determine those offsets.

I don't want to give you guessed addresses that might produce misleading readings. The Server 2025 offsets were derived from a different binary and shouldn't be reused. I found the offsets in a different post earlier today, but now I can't locate it.

If someone with WinDbg or binary-analysis experience can identify the equivalent symbols or offsets for 10.0.17763.9376, those can then be used in an updated script.

I was using the script throughout the day to determine if I needed to restart the server to keep mail flowing, with the intention of uninstalling the October security update for Server 2025 after hours.

1

u/Pocohunter Oct 16 '26

I uploaded RpcEpMap.dll to Claude and asked it to find the offsets for Server 2022 and update the script.

...

$knownBuilds = @{

'10.0.26100.33648' = @{ Cap = 0x1C5EC; Used = 0x1CD50 }

'10.0.20348.5756' = @{ Cap = 0x1C470; Used = 0x1D064 } }

...

2

u/LordFurafura Oct 20 '26

May be late to the party but I just managed to find the offsets for the different versions of the DLL (except server 2016, I'm sorry)

$offsetsByVersion = @{
'10.0.26100.33648' = @{
Cap = 0x1C5EC
Used = 0x1CD50
}
'10.0.20348.5756' = @{
Cap = 0x1C470
Used = 0x1D064
}
'10.0.17763.9376' = @{
Cap = 0x19460
Used = 0x19EB0
}
}

2

u/HighlightNovel4284 Oct 20 '26

Thank you, I was able to modify the code posted above and get the values from my Windows 2019 server. After the "EpmapSavedContextCap" registry update the server is showing 1.5 percent used after nearly 40 hours, which is in line with the "~24 RPC consumed per hour" previously discussed.

With a new limit of 65536, at current burn rate, the server could go potentially go around 113 days or so before the issue re-occurs. Hoping Microsoft released a more permanent fix, although if you are patching your servers at least once a month, reboots should reset the counter to zero.

1

u/Dramatic-Mall-2464 Oct 20 '26

Great finding for the 2019.
How did you find the used value, as then I will gather that for the 2016 version to make the list complete.

1

u/Pocohunter Oct 20 '26

from Claude

For Server 2016 (this DLL is 10.0.14393.9611), the offsets are:

Cap: 0x12450 (value 512 in the file)

Used: 0x12CC0

Add this entry to $knownBuilds in the script:

powershell

'10.0.14393.9611' = @{ Cap = 0x12450; Used = 0x12CC0 }

I got these by the same static analysis as the 2022 offsets. The counter is incremented with lock xadd against 0x12CC0 and compared with the value at 0x12450 before a context is accepted, and it is decremented on release. The script still checks that Cap is 512 before reporting, so a mismatch will stop it rather than give wrong numbers. Run it on a 2016 host to confirm. Note that the script matches on the exact build string, so a 2016 host with a different cumulative update will be reported as unsupported until it has its own entry.

1

u/Dramatic-Mall-2464 Oct 18 '26 edited Oct 18 '26

Hi u/rynoduder , I have used WinDbg to get the Offset for the Cap on Windows Server 2016 - Fileversion: 10.0.14393.9611:
@{Name='Cap'; Offset=0x12450}
and
Windows Server 2019 - Fileversion: 10.0.17763.9376:
@{Name='Cap'; Offset=0x19460}

.sympath srv*c:\symbols*https://msdl.microsoft.com/download/symbols
x RpcEpMap!g_EpmSavedContextCap
? RpcEpMap!g_EpmSavedContextCap - RpcEpMap

And it finds the right value, however i'm a little troubled by how to get the Used Offset.
The current Used offset from e.g. 2025 (0x1CD50) or 2022 (0x1D064) versions are nowhere to be found in the WinDbg for those files at least where I look :(

Can you clear out a bit how the Used offset/counter is found?

Best Regards
Thomas

2

u/YOLOSWAGBROLOL Oct 16 '26

One error I had was EPT_S_CANT_PERFORM_OP.

Sounds like their theory is it's hitting the endpoint-mapper contexts cap and their temp fix is just to raise the cap which was being hit at the ~22ish hour mark. So something is rising over time and causing it to hit it's much lower limit.

I don't think I'll be updating it today again as it's a Friday and I don't really wish to reboot it on a Saturday morning.

1

u/itguy8071 Oct 16 '26

where did you find this?

1

u/Dapper-Giraffe6444 Oct 16 '26

Microsoft support gave us this

1

u/hardingd Oct 16 '26

I received the same thing from Microsoft support

2

u/Razor_Z Oct 16 '26

Our three-server DAG ran all updates and restarted last night. We haven't run into the issues experienced here (yet), but inexplicably the update wiped the OWA resource folder on server #2 and left it that way (1 file vs the 13,573 it should have), so OWA was intermittently broken depending on which server the load balancer sent a request to. #1 and #3 were ok, it was only that one.

2

u/HJForsythe Oct 16 '26

id caution you because it takes 24 hours after the update install before it breaks and we're goin into the freakin' weekend

2

u/Razor_Z Oct 16 '26

definitely. I have a script firing every 15 mins looking for the application log errors, will see how it goes

6

u/Ams197624 Oct 16 '26 edited Oct 16 '26

Exchange SE on Server 2022 here. Installed updates last night. No issues so far.

Edit: Installed KB5126655, KB5128928 and KB5128895

Edit: 22 hours later, we are f*cked too

4

u/Dapper-Giraffe6444 Oct 16 '26

between 22-24 hours exchange will not function properly anymore. Either uninstall windows CU and .net CU, or reboot before 22 hour mark.

1

u/Ams197624 Oct 16 '26

We're now at 20 hours... I'll check in two :) So far no issues.

3

u/Big-Salamander8112 Oct 16 '26

How about now?

3

u/Ams197624 Oct 16 '26

Yeah. Just had to reboot it, unfortunately. I'll be uninstalling that $@#%! tonight...

5

u/babywhiz Oct 16 '26

*furiously writes Risk Assessment and puts a pause on updates*

2

u/itguy8071 Oct 16 '26

keep an eye out for Application log event 1006 : The Microsoft Exchange Mailbox Replication service was unable to process jobs in a mailbox database. Database: --- Error: MapiExceptionMdbOffline: Unable to make connection to the server. Restarting the entire server fixes it temporary.

1

u/Ams197624 Oct 16 '26

Yeah, I'm checking with this script every hour or so:

Get-WinEvent -FilterHashtable @{

LogName = 'Application'

Id = 1006

StartTime = (Get-Date).AddDays(-2)

} -ErrorAction SilentlyContinue |

Where-Object {

$_.ProviderName -like '*MSExchange*' -and

$_.Message -match 'MapiExceptionMdbOffline|ec=1142'

} |

Select-Object TimeCreated,ProviderName,Message

5

u/Excellent_Milk_3110 Oct 15 '26

Yikes following this one, so it’s not the exchange update but a different Microsoft update

3

u/intmanofawesome Oct 15 '26 edited Oct 15 '26

Same, 4 EX SE servers in a dag, Windows 2022, right on 0900 UTC, 7PM my local, the mail stopped being sent/delivered and mail queues started growing. Another team member rebooted the servers to fix it before I was notified. Had just installed latest windows and October SU the night before.

4

u/Glass_Call982 Oct 15 '26

We haven’t installed the SU yet and just the monthly OS patches broke it. I have scheduled off hours reboots until ms fixes this shit.

2

u/intmanofawesome Oct 15 '26

One of the comments on the exchange blog mentions that their issues also started at 7:06PM their local time. That probably lines up back to when they patched it, probably around the same time as we did.

Odd thing is we patched systems at different times, but they all stopped working at the same time, just on 7PM our local time.

We'll keep an eye on notices from MS, but I think we'll look to roll back the Windows patches, maybe.

1

u/DiligentPhotographer Oct 16 '26

I had the same issue, but since the one reboot it has not come back. This was around 7-8am for me, yesterday.

1

u/intmanofawesome Oct 16 '26

Our mail queues started rising again an hour later, 8PM my local time on the dot our time across all 4 servers. I'm just finishing up uninstalling the Windows and .Net updates from the servers now.

1

u/DiligentPhotographer Oct 16 '26

Just noticed the same thing on the queues. Fuck! Will have to remove the updates as well.

1

u/intmanofawesome Oct 17 '26

Sorry to say but our queues started to spike again at the same time of 8PM my local even after uninstalling the Windows updates. Going with the reg entry detailed on a new Exchange Team blog now

1

u/DiligentPhotographer Oct 19 '26

That sucks! I only removed the windows october CU, I left the exchange SU and .net updates and haven't had it happen again... We'll see how it goes today now that it's monday.

3

u/itguy8071 Oct 16 '26

Is it the Exchange update or is it the 2026-10 cumulative update that causes the issue? This is a big issue, problem keeps coming back after like 22 hours of restart.

4

u/episode-iv Oct 16 '26

According to the reports I've read and the comments on the Exchange team blog, the 2026-10 cumulative update is the culprit, not the Exchange update.

2

u/itguy8071 Oct 16 '26

ok, i have confirmed that this update 2026-10 also breaks RADIUS wifi on devices. I suspect there's multiple issues with this update

1

u/Big-Salamander8112 Oct 16 '26

Yea, but isn't that because NTLM1 enforcement?

3

u/Ams197624 Oct 17 '26

2

u/daggerthreat_fan Oct 17 '26

What a shitty ass workaround if you run a big environment where you get a call as soon as any issue erupts

"Just raise Limit and reboot all servers until you got your them back to where they were before our update"

2

u/Hammerviertausend Oct 15 '26

Have you installed windows server updates 5126655 and 5128928 as well? Heard from some they have exchange issues and are still on September SU but have just installed those windows server updates.

2

u/Kooky_Cranberry9717 Oct 15 '26

Yess, all Exchange Services disabled here on a Exchange SE on Windows Server 2025 - no DAG

5

u/AliceDetonate Oct 15 '26

That can happen with any update. I think they are talking about a different issue.

2

u/hardingd Oct 15 '26

It’s the Windows updates that did it for me. I still have Exchange SUs to install.

2

u/Glass_Call982 Oct 16 '26

Way to go microslop. 

2

u/itguy8071 Oct 16 '26

Yes I have 3 exchange server so far. They become unresponsive, black screen when trying to log on to it. Users report Outlook offline, reboot seems to help. Email is being delivered to the Exchange server, but database offline error it seems. reboot fixes this temporary

1

u/Brave_Recognition798 Oct 26 '26

They become unresponsive, black screen when trying to log on to it

I thought it was a coincidence, had to delete the user profile and it still broke lol

2

u/haffhase Oct 16 '26 edited Oct 17 '26

Exchange SE on Server 2025. KB5126646 installed over night. No problems so far, but only 8hrs have passed since installation. I put two scheduled tasks in place at 2am and 6am which restart the server. Hope that saves us from a lot of calls on monday.

Edit: Reboot seems to have worked, could log in to Outlook Web Access. Will try the workaround on Monday.

2

u/Desperate_Ease2040 Oct 18 '26

Has anyone tried the registry fix and had the problem come back?

2

u/92merc Oct 19 '26

Well, add me to the list of people that got hosed by Microsoft. Finally found these threads. Two Exchange SE servers running 2022 DataCenter. I installed those KB's on Saturday. Started having the issues right after.

1

u/seeyounorth Oct 20 '26

Happened to us Saturday Oct 17 about 8pm. Exchange locked up, no new messages for users, no sent messages. Server 2022 login even locked up to the point of mandatory reboot. After reboot, all messages during that time loaded, all pending messages sent. Then, happened again almost 24 hours later. Reboot fixed again. Implemented MS's "fix" today, so we're waiting another 24 hours to see how it does. Given that no one is back here in a few days probably means the registry tweak was successful, will report back if its not for us.

Good, informational link by u/Pocohunter , seems like a guy over there really got to the bottom of what it is and why it's happening.
https://borncity.com/blog/2026/10/15/achtung-exchange-server-okt-2026-su-fuehren-zu-ausfaellen/#comment-269037

1

u/Kyky_Geek Oct 16 '26

Something messed ours up and a reboot fixed it but on another post people were saying it’ll come back after 20-22 hours so… guess I’ll see tmrw 🤷‍♀️

2

u/itguy8071 Oct 16 '26

I can confirm i had to reboot Exchange server again. Same issue this morning. Event errors that messages cannot be delivered into database "mbboffline error". logging into the server itself, only black screen. We pushed powershell reboot command, server reboots, comes back OK. Problem returns after 20 hours or so

1

u/Kyky_Geek Oct 17 '26

Same. And same again today. If you hadn’t seen it, the exchange blog recommends adding a reg key and gives the command for it. They just released it yesterday.

1

u/adixro Oct 16 '26

Patched on 24h2 non prod SE server and then stopped while noticing the advisory. My reason to patch was to get a timezone OS in BC -7. Now it seems on prem might get botched due to Oct OS update as for the timezone in 365 it is messed up and MS techs have no clue.

1

u/Samwilki2208 Oct 16 '26

Yep same issue!

1

u/Gatt_ Oct 16 '26

Not sure if it was related or not, but after this round of updates, our SE server's ECP (and probably OWA) portal was broken, displaying only text and dead links

I managed to fix it by running the UpdateCas.ps1 file which resolved our issue

But as I say, no clue if related to the OP's issues

1

u/Green-Hyena5571 Oct 17 '26

Exchange SE on Windows 2025, also impacted. Have applied the reg key and rebooted. Keeping fingers crossed the limit is enough to get through the weekend at least!

Lucky we didn't patch all the servers in one go.

1

u/Willirish Oct 18 '26

Broke mine. Spent all weekend trying to figure out whats happening. Should have checked Reddit!

0

u/[deleted] Oct 15 '26

[deleted] — view deleted comment

1

u/Savings_Temporary953 Oct 16 '26

Well good point, if no mailboxes on-prem, what is the extent this affects you? Are you in hybrid with centralized mail?