lean-0024: Buffer overflow in `lean_io_prim_handle_read`
`IO.FS.Handle.read` with a large value of `n` could cause a buffer overflow, leading to a crash. Not a soundness bug on its own, but software verified in Lean to be correct could still carry a runtime vulnerability through this primitive. Fixed in 4.28.1 and 4.29.1 (backports); 4.30.0+ carry the fix.
| Status | fixed |
|---|---|
| Fixed in | v4.28.1 |
| Subsystem | runtime |
| Guarantee broken | — |
| Mechanism | |
| Symptom | crash |
| Severity | crash |
| Fools | — |
| Discovery | |
| Features | |
| References |