{"schemaVersion":3,"id":"RUSTSEC-2020-0159","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Potential segfault in `localtime_r` invocations\n\n### Impact\n\nUnix-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.\n\n### Workarounds\n\nNo workarounds are known.\n\n### References\n\n- [time-rs/time#293](https://github.com/time-rs/time/issues/293)","dates":{"published":"2020-11-10T12:00:00.000Z","modified":"2026-02-04T02:59:27.428Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"Crates.Io","product":"chrono","name":"chrono","label":"chrono","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/chrono","purlType":"cargo","versions":[{"text":"≥ 0.0.0-0, < 0.4.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.0.0-0, < 0.4.20","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://crates.io/crates/chrono","label":"crates.io/crates/chrono","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0159.html","label":"rustsec.org/advisories/RUSTSEC-2020-0159.html","hostname":"rustsec.org","tags":["Advisory"]},{"url":"https://github.com/chronotope/chrono/issues/499","label":"github.com/chronotope/chrono/issues/499","hostname":"github.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CVE-2020-26235"]},"timeline":[{"kind":"published","date":"2020-11-10T12:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-04T02:59:27.428Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:40:58.842Z","stale":false,"partial":false}}