Skip to navigation

Threat reportVulnerabilityTL-2026-4578

Windows Print Spooler Heap Overflow in Form Enumeration (InternalEnumForms/CopyIniFormToFormInfo/PackStrings memcpy) — Unpatched, Public 60-Page Exploit Write-Up

mediumACTIVE

Security researcher Alexandre Borges published a 60-page write-up and working exploit for an unpatched heap overflow (CWE-122) in the Windows Print Spooler (spoolsv.exe) form-enumeration path InternalEnumForms -> CopyIniFormToFormInfo -> PackStrings -> memcpy. The bug was submitted to Microsoft in March 2026; MSRC judged it below the bar for immediate servicing because triggering it requires administrative privileges, and it remains exploitable on current mainstream and Canary builds as of October 2026.

Key facts

IdentifiersTL-2026-4578, CVE-2026-85877, CVE-2021-1675, CVE-2021-34527
Also known asER Series Article 11, Exploiting Reversing Article 11, Windows: Missing Bounds in the Print Spooler
SeverityMEDIUM
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2021-1675 (added ), CVE-2021-34527 (added )
EPSSCVE-2021-34527: 99.7% (99.9th percentile); CVE-2021-1675: 85.3% (99.7th percentile); CVE-2026-85877: 0.8% (57.2th percentile)
Affected productsMicrosoft Windows Print Spooler (spoolsv.exe)
Weaknesses (CWE)CWE-122
ToolsIDA Pro (Hex-Rays)
MITRE ATT&CK techniquesT1078.003 Local Accounts, T1106 Native API, T1587.004 Exploits
MotivationUNKNOWN
Target sectorsenterprise it, all sectors running windows print spooler
Target regionsGlobal
Detection rules9 (1 shown free)
Sources12 cited sources

Detection coverage

As of 2026-10-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4578 across Splunk SPL, Microsoft KQL and Sigma, covering 11 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: spoolsv.exe Spawning Shell or LOLBin Child Process (TL-2026-4578 Admin-to-SYSTEM Code Execution)

Detects Print Spooler (spoolsv.exe, LocalSystem) launching command interpreters or living-off-the-land binaries. Successful exploitation of the unpatched form-enumeration heap overflow (InternalEnumForms/PackStrings, CWE-122) yields code execution inside spoolsv.exe as SYSTEM; follow-on payloads typically spawn cmd.exe, powershell.exe, rundll32.exe or similar. spoolsv.exe rarely has these children in normal operation.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1068, T1059
  • Data sources: sysmon, windows_security, microsoft_defender_for_endpoint
  • Severity: high
  • Confidence: high

Splunk SPL

index=windows sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" earliest=-24h EventCode=1 ParentImage="*spoolsv.exe" (Image="*cmd.exe" OR Image="*powershell.exe" OR Image="*pwsh.exe" OR Image="*rundll32.exe" OR Image="*regsvr32.exe" OR Image="*mshta.exe" OR Image="*wscript.exe" OR Image="*cscript.exe" OR Image="*wmic.exe" OR Image="*certutil.exe" OR Image="*bitsadmin.exe" OR Image="*whoami.exe" OR Image="*net.exe" OR Image="*net1.exe" OR Image="*msbuild.exe")
| stats count min(_time) as first_seen values(CommandLine) as command_lines values(User) as user by Computer Image ParentCommandLine
| convert ctime(first_seen)
| table first_seen Computer user Image ParentCommandLine command_lines count

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "spoolsv.exe"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "rundll32.exe", "regsvr32.exe", "mshta.exe", "wscript.exe", "cscript.exe", "wmic.exe", "certutil.exe", "bitsadmin.exe", "whoami.exe", "net.exe", "net1.exe", "msbuild.exe")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, InitiatingProcessAccountName

Sigma

title: Suspicious Child Process of Print Spooler (spoolsv.exe)
id: 3f0c8a52-6a1e-4c1b-9d57-1a2b7e4c0004
status: experimental
description: Detects shells and LOLBins spawned by spoolsv.exe, consistent with code execution after exploitation of the Print Spooler form-enumeration heap overflow (TL-2026-4578).
references:
  - https://exploitreversing.com/2026/10/27/exploiting-reversing-er-series-article-11/
author: Threadlinqs Team
date: 2026-10-27
tags:
  - attack.privilege_escalation
  - attack.t1068
  - attack.execution
  - attack.t1059
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    ParentImage|endswith: '\spoolsv.exe'
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\rundll32.exe'
      - '\regsvr32.exe'
      - '\mshta.exe'
      - '\wscript.exe'
      - '\cscript.exe'
      - '\wmic.exe'
      - '\certutil.exe'
      - '\bitsadmin.exe'
      - '\whoami.exe'
      - '\net.exe'
      - '\net1.exe'
      - '\msbuild.exe'
  condition: selection
falsepositives:
  - Legacy printer drivers or vendor print software that launch helper scripts
level: high

Known false positives:

  • Vendor print drivers or monitoring agents that launch cmd.exe or rundll32.exe helpers from spoolsv.exe
  • Administrators running diagnostic scripts through the spooler during troubleshooting

Tuning notes: Allow-list known vendor driver helper commands by CommandLine rather than by image. Enrich with User=SYSTEM and recent form-management activity on the same host to raise priority. Add MSBuild/InstallUtil style binaries if your environment uses them for printing. Expand the image list from your own EDR child-process baseline of spoolsv.exe.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Repeated Print Spooler Crashes Indicating Failed Heap Grooming (TL-2026-4578) · unlock with TL Creds
  • spoolsv.exe Loading DLL from Unexpected Path (TL-2026-4578 Post-Exploitation Payload) · unlock with TL Creds
  • spoolsv.exe Outbound Connection to Public IP (TL-2026-4578 Post-Exploitation Callback) · unlock with TL Creds
  • Print Spooler Form Registry Value Deletion by spoolsv (TL-2026-4578 Cleanup of Planted Form) · unlock with TL Creds
  • PowerShell Calling Spooler Form APIs via winspool P/Invoke (TL-2026-4578 AddForm/EnumForms/DeleteForm) · unlock with TL Creds
  • Download of ER Article 11 Print Spooler Exploit Write-Up (TL-2026-4578 Capability Development Awareness) · unlock with TL Creds
  • Print Spooler Transient Form Create-and-Delete (TL-2026-4578 Form-Enumeration Heap Overflow Trigger) · unlock with TL Creds
  • Remote spoolss Named-Pipe Access by Local Account (TL-2026-4578 MS-RPRN Form Management Attack Surface) · unlock with TL Creds

Indicators of compromise

As of 2026-10-27, Threadlinqs Intelligence tracks 11 indicators of compromise for TL-2026-4578.

Sample indicators (3 of 11)

  • Domain: exploitreversing[.]com
  • URL: hxxps://youtu[.]be/-jvsxLq90zQ
  • Domain: blackstormsecurity[.]com

Defanged, TLP:CLEAR. Full set of 11 indicators: unlock with TL Creds.

11 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Article 11 of Alexandre Borges' 'Exploiting Reversing' (ER) series, titled 'Windows: Missing Bounds in the Print Spooler', documents a heap overflow (CWE-122) in the user-mode Windows Print Spooler service, spoolsv.exe. The vulnerable path is the form-enumeration code: InternalEnumForms calls CopyIniFormToFormInfo, which calls PackStrings, whose memcpy writes beyond the intended bounds of the heap buffer. The title of the article refers to this as 'missing bounds'.

The accompanying PDF (about 60 pages) describes the exploitation in four stages: groom, corrupt, control and execute. Per the Blackstorm Security research listing, the exploit grooms the Windows Segment Heap's Variable-Size allocator and then corrupts function pointers to achieve code execution inside spoolsv.exe. The author states that after exploitation the spooler service keeps running without crashing and the planted form used to trigger the bug is deleted afterward, which reduces the observable footprint (no service crash, no lingering form entry).

Microsoft was informed in March 2026. According to the article, MSRC responded in October 2026 that the report falls below the bar for immediate servicing because exploitation requires administrative privileges. The article states the issue is still reproducible as of October 2026 on current mainstream Windows builds and on Windows Insider Canary builds. No CVE identifier and no CVSS score has been published, and the sources do not describe in-the-wild exploitation, a threat actor, or network or malware IOCs. This is public vulnerability research with an exploit write-up and a video, not an observed campaign.

Operational significance: because spoolsv.exe runs as LocalSystem (standard Windows behavior), a successful exploit would turn administrator-level access into SYSTEM-level code execution inside a trusted signed service, which matters mainly for environments that treat local administrator accounts as a security boundary (tiered administration, PAWs, delegated admin). The Print Spooler's RPC-exposed form-management interface (MS-RPRN: RpcAddForm, RpcEnumForms Opnum 34, RpcSetForm, RpcDeleteForm; Win32 AddForm/EnumForms) is a long-standing attack surface — see PrintNightmare (CVE-2021-1675 / CVE-2021-34527) and the recent Print Spooler heap-overflow record CVE-2026-85877. The article does not state any relationship between this bug and those CVEs, and none is asserted here. Borges credits Ilfak Guilfanov and Hex-Rays SA for support, consistent with IDA Pro being used for reverse engineering. The function-level details beyond those named in the article's summary could not be extracted from the PDF by this analysis (binary PDF not machine-readable in this environment) and are therefore not stated.

MITRE ATT&CK techniques by tactic:

Privilege Escalation

T1078.003 Local Accounts

Execution

T1106 Native API

Resource Development

T1587.004 Exploits

Remediation

Patches

  • No vendor patch exists for this finding as of 2026-10-27; MSRC assessed it as below the bar for immediate servicing

Immediate actions

  • Limit the number of principals holding local Administrator rights on systems running the Print Spooler, since exploitation requires administrative privileges
  • Disable the Print Spooler service on servers and domain controllers or any host that does not need to print
  • Apply privileged-access tiering / Privileged Access Workstations so that a compromised admin session cannot trivially be converted into SYSTEM code execution
  • Monitor spoolsv.exe for unexpected crashes, restarts, child processes, module loads and anomalous AddForm/EnumForms/DeleteForm activity

Workarounds

  • Disable the Print Spooler service where printing is not required (Stop-Service Spooler; Set-Service Spooler -StartupType Disabled)
  • Restrict printer and form management rights to a minimal set of trusted administrators

Longer-term hardening

  • Track MSRC's servicing decision for this report and apply an official fix if one is released
  • Deploy EDR with memory-corruption and process-behavior detection covering spoolsv.exe
  • Reduce spooler RPC exposure through Print Spooler hardening guidance and attack-surface reduction
  • Evaluate print architectures that reduce reliance on the on-host spooler

Affected and fixed versions

  • Microsoft — Windows Print Spooler (spoolsv.exe)
    Vulnerable versions: Current mainstream Windows builds as of October 2026; Windows Insider Canary channel builds as of October 2026

Timeline

  • PrintNightmare (CVE-2021-1675 / CVE-2021-34527) establishes the Print Spooler's RPC interface as a major attack surface; cited as context only, not stated to be related to this bug.
  • Alexandre Borges submits the form-enumeration heap overflow to Microsoft (March 2026; exact day not stated in the article).
  • CVE-2026-85877, a separate Windows Print Spooler heap-based buffer overflow record, is published (context; no relationship to this finding is stated).
  • Blackstorm Security lists 'Windows: Missing Bounds in the Print Spooler' with a PDF download and video link, describing Segment Heap Variable-Size grooming and function-pointer corruption.
  • Article states the bug remains exploitable on current mainstream and Windows Insider Canary builds; no CVE assigned and no patch available.
  • The article reports MSRC's October 2026 response that the issue is below the bar for immediate servicing because exploitation requires administrative privileges.
  • ER series article 11 is published on locked-ioc-6 with the roughly 60-page PDF documenting the four-stage (groom, corrupt, control, execute) exploit.

Sources cited

Other reports on CVE-2021-1675

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 12 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats