microsoft / microsoft/winget-cli

Updating Adobe Acrobat - Potential STATUS_HEAP_CORRUPTION ?

Open
#5,710 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-External Command-Install Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget install

Brief description of your issue

I got an update for Adobe Acrobat, and ran the install command (which always worked), and got a weird error message which seem to indicate a HEAP corruption. If this is really the case, we may have a security here as well.

Steps to reproduce

# winget list --upgrade-available --include-unknown
Name                   Id                          Version      Available    Source
-----------------------------------------------------------------------------------
Adobe Acrobat (64-bit) Adobe.Acrobat.Reader.64-bit 25.001.20643 25.001.20672 winget

# winget install -e --id 'Adobe.Acrobat.Reader.64-bit'

Found an existing package already installed. Trying to upgrade the installed package...
Found Adobe Acrobat Reader (64-bit) [Adobe.Acrobat.Reader.64-bit] Version 25.001.20672
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/2500120672/AcroRdrDCx642500120672_MUI.exe
  ██████████████████████████████   725 MB /  725 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 3221226356
Installer log is available at: C:\Users\xxxx\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Adobe.Acrobat.Reader.64-bit.25.001.20672-2025-09-08-11-19-05.919.log

# errorcode 3221226356

# for decimal -1073740940 / hex 0xc0000374
  STATUS_HEAP_CORRUPTION                                         ntstatus.h
# A heap has been corrupted.
# 1 matches found for "3221226356"
Expected behavior

that install is successful.

Actual behavior
  • Winget install command shows unknown error: 3221226356
  • App installer itself doesn't complain, but log file shows trying to defrag a hard drive, but I don't have any HD's.
  • running winget list --upgrade-available, no longer show Adobe.

Was the install successful or not?

Environment
# winget --info

Windows Package Manager v1.11.430
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.4946
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.430.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Additional Info:

From installer logfile:

DefragmentFiles_InitProgress: MSI property DefragmentFiles: IMM_SUCCESS;
C:\Program Files\Adobe\Acrobat DC\;Software\Adobe\Adobe Acrobat\;3;
Optimizing performance ...;
Completed [1]% of process;
NOTE: Installation was successful. However, because your hard drive is fragmented, 
this application may not be able to launch as quickly as possible. 

To optimize performance, please defragment your hard drive and then repair 
this application under Add or Remove Programs in the Control Panel.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing winget install -e --id 'Adobe.Acrobat.Reader.64-bit' in the reported WinGet and Windows environment, then inspect the linked diagnostic log and Adobe installer output. Determine whether the failure originates in the Adobe installer or WinGet's result handling; done means clearly reporting whether installation succeeded and handling the result consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.