Microsoft Pragmatic General Multicast Server PgmCloseConnection stale memory dereference
The PGM driver in Windows 10 mishandles session cleanup when a crafted sequence of multicast packets is processed, leaving a stale session structure that is later dereferenced. An unauthenticated remote attacker could send such packets to corrupt kernel memory, potentially leading to code execution or a crash.
A memory corruption vulnerability exists in the Pragmatic General Multicast server in Microsoft Windows 10 Kernel. Specially crafted network packets can lead to access of stale memory structure resulting in memory corruption.
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 session teardown path does not fully clear or invalidate the session structure, so a later packet dereferences memory that has already been released (incomplete cleanup).
Impact
An unauthenticated remote attacker could corrupt kernel memory, potentially achieving code execution with high confidentiality, integrity and availability impact.
What the attacker needed
Network reachability to the PGM port; PGM/RMCAST driver loaded and bound; no authentication required
How it was found
- Send a first PGM packet of type OD_TYPE with valid flags and size to create a new session.
- Send a second PGM packet of type SPM_TYPE carrying the PARITY_PRM option so the driver allocates an FEC buffer and context in the session.
- Send further packets that cause the session to be torn down while the stale structure remains referenced.
- Trigger the stale dereference through the PgmCloseConnection path, resulting in memory corruption.
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.
Windows has a networking driver that handles a multicast protocol used for reliable group messaging. The report says that by sending a particular sequence of network messages, an outsider can make the driver use memory that has already been freed, which can crash the machine or let the attacker run their own code with high privileges.
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.