Skip to content
Memory corruption Advisory Advanced CVE-2021-1648

Microsoft Windows splwow64 Out-Of-Bounds Read Privilege Escalation Vulnerability

The user-mode printer driver host process splwow64.exe failed to properly validate user-supplied data, causing a read past the end of an allocated buffer. A local attacker who already had low-privileged code execution could leverage this to escalate to medium integrity and run arbitrary code in the context of the current user.

Elliot Cao Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Elliot Cao (@iamelli0t) working with Trend Micro's Zero Day Initiative, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the printer driver host process trusted the length or structure of user-supplied data without validating it, so it read beyond the allocated buffer.

Impact

A local attacker with low-privileged code execution could escalate from low integrity to medium integrity and execute arbitrary code as the current user; the text does not claim full system compromise.

What the attacker needed

Local low-privileged code execution

The fix

Microsoft issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some programs read data from other programs and trust that the data is the right size. Here the printer helper process did not check the size, so it could read past the end of a memory buffer. An attacker who can already run a little code on the machine could use this to gain more rights than they should have.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Elliot Cao

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.