Forum Discussion
Roger_Hoffmann
Oct 13, 2026Copper Contributor
Excel x64/VBE execute AV: live segment-heap entry is PAGE_READWRITE (Windows 26H2)
Please assess this case with the Excel/VBA runtime and Windows heap teams and identify a supported serviced build or mitigation. The failure is intermittent; we are not claiming a confirmed Microsoft...
GaryW1
Nov 27, 2026Copper Contributor
Same signature here: Excel x64, VBE7 execute AV at a generated VBA entry, plus a second variant in the error-dialog path
I'm seeing what looks like the same problem, and I have full dumps.
Environment
- Excel for Microsoft 365 MSO 64-bit, Current Channel: crashes on Version 2610 (Build 16.0.20527.20150) and also after updating to Version 2611 (Build 16.0.20625.20142)
- VBE7.DLL 7.1.11.58
- Windows 11 / 25H2 (build 26200.9974)
- Windows Defender only; no COM add-ins loaded; workbook in a Trusted Location
Workbook: large .xlsb, about 300 VBA modules, with heavy use of class modules, Implements interfaces and WithEvents. It has no Declare callbacks or AddressOf, and no memory APIs: ObjPtr is only used as a dictionary key, never dereferenced. It crashes intermittently, about 1 run in 2, during a longish VBA start-up routine. The crash point in the code moves from run to run.
Signature 1 (same as the original post):
FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_INVALID_POINTER_EXECUTE_c0000005_VBE7.DLL!lblEX_VCallHresult Attempt to execute non-executable address (heap) <heap address> <heap address> VBE7!lblEX_VCallHresult+0x58 VBE7!lblEX_VCallBasicHresult+0x69 (x3) VBE7!lblEX_ImpAdCallBasic+0x3b (x4) VBE7!InvokeImmedSub ...
Signature 2 (three dumps): the macro is aborted with DISP_E_EXCEPTION (0x80020009) returned to EXCEL!RunMacro, and VBE7 then crashes while building its error dialog:
FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_VBE7.DLL!GetCurrentEpiProject (also seen as ...VBE7.DLL!EXFRAME::Pemod) VBE7!GetCurrentEpiProject+0x61 (read of 0x30 / 0x3d) VBE7!EbIsCodeOnStack+0x29 VBE7!ProjLppRealExecuting+0x1b VBE7!VBDialogCover2+0xf8 VBE7!VBMessageBox2+0xb5 VBE7!HostDisplayMsgBox2 ... DisplayErrorDlg ... EbShowError VBE7!IdErrMsgHr+0xb3 (hr 0x80020009) VBE7!CVbe::ShowError+0x23 EXCEL!VbeShowError+0x59 EXCEL!RunMacro+0x6bf
No VBA error handler is reached: a top-level On Error GoTo around the whole routine never runs. The abort looks internal to the VBA engine.
A small observation, possibly unrelated: in every crash, ProcDump logs a burst of first-chance .NET exceptions (EEFileLoadException, E0434352.CLR) about 10 seconds before the access violation. The same burst also appears in runs that don't crash.
Also reported through Excel's Feedback (Report a problem) with a mini dump. Full and mini dumps are available privately to Microsoft on request.