RUSTSEC-2026-0244None▾ Sunlit`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization
▾ Sunlit zone — Low / medium · no exploitation signal
impact 2.8 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
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.
gettext-rs >= 0.0.0-0, < 0.8.0Upgrade to a patched release:
gettext-rs 0.8.0