Every CVE Search/ Get API key

RUSTSEC-2020-0159

Potential segfault in `localtime_r` invocations

No scoreFix available

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

What each source reports

OSV No score

Potential segfault in `localtime_r` invocations

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

Record
RUSTSEC-2020-0159
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
chrono
crates.io
0.0.0-0 up to 0.4.20
0.4.20

History

History
RecordedChangedSources
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

RUSTSEC-2020-0159 is a vulnerability with no CVSS score yet in chrono, published November 10, 2020. No source lists public exploit code. Fixed in chrono 0.4.20.

References

MoveEnter Open