Security

Kernel stack overflow from a Windows program with a very deep chain of DLL imports

KSA-2026-0048

Status
Fixed, update coming
Severity
High
CVE
CVE-2026-128759
Affected versions
0.2.0 to 0.2.6
Fixed in
the next update after 0.2.6 (PR #7)
Published
2026-11-02
Updated
2026-11-18

Summary

Loading a Windows program followed each DLL's imports with no depth limit and about 2.7 KB of kernel stack per level, and kernel stacks had no guard page. A crafted program with a long chain of DLLs ran past the end of the kernel stack and overwrote kernel memory when it was started.

Import chains are now limited to 24 levels, each level uses far less stack, and kernel stacks have an unmapped guard page.

Workaround

Install the next update when it is offered. Until then there is no workaround.

Credit

Brent Gordon