Microsoft Windows TCPIP.SYS IppQualifyAddresses Out-of-Bounds Read Vulnerability
The Windows tcpip.sys driver fails to validate a user-supplied destination count in the IppQualifyAddresses function, so a crafted IOCTL request makes the driver read past the end of its input buffer. An attacker with local access could trigger an out-of-bounds read that may disclose kernel memory or crash the machine.
An out-of-bounds read vulnerability exists in the IppQualifyAddresses function of the Microsoft Windows tcpip.sys driver. A specially crafted I/O request packet (IRP) can cause an arbitrary out-of-bounds read, potentially leading to information disclosure or a denial-of-service condition.
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 driver uses the user-controlled MaxDestCount value as a loop bound without checking it against the actual size of the input buffer.
Impact
The out-of-bounds read could lead to information disclosure or a denial-of-service condition, and the report shows a kernel crash when the loop runs past the buffer.
What the attacker needed
Local access to the machine; ability to send a crafted IOCTL request
The fix
The vendor released a patch on 2026-07-14, so the driver should validate MaxDestCount against the input buffer size before looping.
How it was found
- Send a crafted IRP to the handler for the 0x120007 IOCTL.
- The handler calls IpGetAllSortedAddressParameters, which reads the user-controlled input buffer.
- IppCreateSortedAddressPairsEx calls IppQualifyAddresses with a pointer into that buffer and the supplied MaxDestCount.
- IppQualifyAddresses loops MaxDestCount times, advancing the pointer by 0x1c each time, and reads past the buffer end.
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.
A driver is a low-level program that runs with high privileges inside the operating system kernel. Here the network driver trusts a number supplied by the calling program and uses it to walk through a buffer, so it keeps reading memory beyond the buffer's end. That can leak data from kernel memory or crash the computer.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.