{"id":"RUSTSEC-2026-0244","revision":"99f41a9767004c9db752723755a94c92","records":[{"revision":"99f41a9767004c9db752723755a94c92","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0244","aliases":[],"title":"`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization","description":"`setlocale` and `TextDomain::init` are unsound and may allow safe code to exhibit undefined behavior when called in a multi-threaded program.\n\nThe flaw is fixed in 0.8.0 by marking these functions `unsafe` and documenting the conditions under which they can be called safely.","state":0,"publishedAt":"2026-08-06T12:00:00+00:00","modifiedAt":"2026-08-09T15:00:04.1558946+00:00","affected":[{"ecosystem":"crates.io","name":"gettext-rs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.8.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/gettext-rs","https://rustsec.org/advisories/RUSTSEC-2026-0244.html","https://github.com/gettext-rs/gettext-rs/issues/64"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0244","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0244","identifiers":["RUSTSEC-2026-0244"]},"retained":false,"historicalAffected":[]}],"coverage":[]}