PC and Mac Error CodesWindows PC and Mac errors explained

Home › All codes › 0xC0000374

Apps

0xC0000374 - Heap corruption detected

0xC0000374   Microsoft name: STATUS_HEAP_CORRUPTION

What it means

Windows found that a program's memory was damaged and stopped it. Microsoft names this STATUS_HEAP_CORRUPTION.

Where you see it

A program crash with this code in the log.

Likely causes

Three safe steps, in order

Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.

  1. Update the program and Windows.Related Microsoft page: Troubleshoot problems updating Windows
  2. Start the program without add-ins or plug-ins, then reinstall it if needed.Related Microsoft page: Fix problems that block programs from being installed or removed
  3. Run sfc /scannow.Related Microsoft page: Use the System File Checker tool to repair missing or corrupted system files

Stop and get help when…

several programs crash this way.

Source and date

Official Microsoft reference
[MS-ERREF] NTSTATUS values
More Microsoft help
Fix problems that block programs from being installed or removed
Date checked
24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.

NTSTATUS (status value used by the Windows kernel)

STATUS_HEAP_CORRUPTION

Source: [MS-ERREF] NTSTATUS values

The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.

Related codes