Read-only shared memory handles could be mapped for writing
KSA-2026-0005
- Status
- Resolved
- Severity
- Medium
- Affected versions
- No released version (development code from before 0.2.0)
- Fixed in
- 0.2.0
- Published
- 2026-11-02
- Updated
- 2026-11-02
Summary
In the Windows program layer, a program given read-only access to a shared memory section could still map it writable, or duplicate the handle with more access, and change data the other program trusted.
Section handles now keep the access they were opened with, duplicates can only keep or narrow it, and writable views through a read-only handle are refused. This was found and fixed before the first public release.
Credit
Brent Gordon