# GHSA-m2xr-2vj4-wh94: tanton_engine has unsound public API

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-04-24T12:00:00.000Z
- Modified: 2025-10-28T06:29:25.372Z
- Also known as: RUSTSEC-2025-0031
- Weaknesses: CWE-119

## Description

The following functions in the `tanton_engine` crate are unsound due to lack of sufficient boundary
checks in public API:

- `Stack::offset()`
- `ThreadStack::get()`
- `RootMoveList::insert_score_depth()`
- `RootMoveList::insert_score()`

The tanton_engine crate is no longer maintained, so there are no plans to fix this issue.

(As written by GitHub Advisory Database.)

## Affected

- tanton_engine (crates.io): up to 1.0.0; from 0.0.0-0

## References

- <https://rustsec.org/advisories/RUSTSEC-2025-0031.html> (advisory, web)
- <https://crates.io/crates/tanton_engine> (package)

## Sources

- GitHub Advisory Database: [GHSA-m2xr-2vj4-wh94](https://github.com/advisories/GHSA-m2xr-2vj4-wh94), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2025-0031](https://rustsec.org/advisories/RUSTSEC-2025-0031.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-m2xr-2vj4-wh94 · Whole record: https://cve.day/GHSA-m2xr-2vj4-wh94.json · Rebuilt by cve.day 2026-11-25T22:56:43.254Z
