RUSTSEC-2026-0244
not scored yet`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization
setlocale and TextDomain::init are unsound and may allow safe code to exhibit undefined behavior when called in a multi-threaded program.
The flaw is fixed in 0.8.0 by marking these functions unsafe and documenting the conditions under which they can be called safely.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | gettext-rs | >= 0.0.0-0, < 0.8.0 | 0.8.0 |
References
- https://crates.io/crates/gettext-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0244.html · ADVISORY
- https://github.com/gettext-rs/gettext-rs/issues/64 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2026)