{"cve":"CVE-2020-26235","nvd":{"published":"2020-11-24T22:15:11.657","modified":"2026-06-17T03:07:53.160","status":"Modified","description":"In Rust time crate from version 0.2.7 and before version 0.2.23, unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires the user to set any environment variable in a different thread than the affected functions. The affected functions are time::UtcOffset::local_offset_at, time::UtcOffset::try_local_offset_at, time::UtcOffset::current_local_offset, time::UtcOffset::try_current_local_offset, time::OffsetDateTime::now_local and time::OffsetDateTime::try_now_local. Non-Unix targets are unaffected. This includes Windows and wasm. The issue was introduced in version 0.2.7 and fixed in version 0.2.23.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3},"cwes":["CWE-476"],"references":["https://crates.io/crates/time/0.2.23","https://github.com/time-rs/time/issues/293","https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","https://crates.io/crates/time/0.2.23","https://github.com/time-rs/time/issues/293"],"products":["time_project:time"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-26235","score":0.01965,"percentile":0.80358,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wcg3-cvx6-7396","url":"https://osv.dev/vulnerability/GHSA-wcg3-cvx6-7396","summary":"Segmentation fault in time","modified":"2026-09-10T03:49:08.359875406Z","packages":[{"ecosystem":"crates.io","name":"time","purl":"pkg:cargo/time","ranges":[">=0.1.0 <0.2.23"],"fixed":["0.2.23"]},{"ecosystem":"crates.io","name":"time","purl":"pkg:cargo/time","ranges":[">=0.2.7 <0.2.23"],"fixed":["0.2.23"]}]},{"id":"RUSTSEC-2020-0071","url":"https://osv.dev/vulnerability/RUSTSEC-2020-0071","summary":"Potential segfault in the time crate","modified":"2026-02-04T02:31:56.682937Z","packages":[{"ecosystem":"crates.io","name":"time","purl":"pkg:cargo/time","ranges":[">=0.0.0-0 <0.2.0",">=0.2.1-0 <0.2.1",">=0.2.2-0 <0.2.2",">=0.2.3-0 <0.2.3",">=0.2.4-0 <0.2.4",">=0.2.5-0 <0.2.5",">=0.2.6-0 <0.2.6",">=0.2.7-0 <0.2.23"],"fixed":["0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.23"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}