Fix System detected an overrun of a stack-based buffer in this application problem in Windows 10 / 11

When a particular program writes a big amount of data in a buffer of a particular stack, more than the memory the stack is allocated to, the stack-based buffer gets overrun due to a shortage of memory and causes a deadly error. If you are seeing this error message, “System detected an overrun of a stack-based buffer in this application” on your computer, simply follow these easy fixes and the problem will be solved pretty easily.

Note: – If you are unable to boot into the system, try booting into safe mode using automatic repair and then follow the steps.

Fix-1 Rename BannerStore key-

Renaming the BannerStore key has fixed the issue for some users, follow these simple steps to try it on your computer-

NOTE

Open the Registry Editor, and click on “File” > “Export” to create a secure backup.



If anything goes wrong you can retrieve your registry by simply importing the backup.

1. Click on the search box and type “regedit“.

2. Now, what you need to click on “Registry Editor“.

 

Regedit

 

3. In Registry Editor window opens up you need to navigate to this location-

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\

 

4. Now, scroll down to find “BannerStore“. Right-click on “BannerStore” and then click on “Rename” to rename it.

 

Bannerstoreold

 

5. Rename the key folder to “BannerStoreOld“.

 

Bannerstore Old Rename

 

6. Press Ctrl+Alt+Delete together from your keyboard to open security window, now click on “Sign Out” to sign out from your computer.

 

Sign Out

 

7. Again sign in to your computer.

The problem will be solved as you sign-in and there will be no loop crashes further.

 

Fix-2 Run SFC and DISM scan-

1. Search “cmd” from the search bar.

2. Then right-click on “Command Prompt” in the elevated search result and click on “Run as administrator“.

 

Cmd Search

 

3. To run these scans, execute these codes sequentially one-by-one.

sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
DISM /online /Cleanup-Image / ScanHealth

 

Sfc Scan Now

 

All of these commands will take a while to scan/ repair your system files.



Once done, close the Command Prompt window.

Reboot your computer.

Try to run the application on your computer again. Check if the error is

still there or not.

Fix-3 Reset PC

1. Press Windows key + R key combination to open run.

2. Type cmd and press CTRL+SHIFT+Enter key at once together.

3. Now, run the command given below.

systemreset --factoryreset

4. Choose keep my files option.

5. Follow, on screen instruction to Reset your windows PC.