Security mailing lists by PureSourceCode

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.

Published
6 Aug 2026
Last modified
9 Aug 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io gettext-rs >= 0.0.0-0, < 0.8.0 0.8.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.