{"api_version":"1","generated_at":"2026-07-23T13:29:44+00:00","cve":"CVE-2020-26235","urls":{"html":"https://cve.report/CVE-2020-26235","api":"https://cve.report/api/cve/CVE-2020-26235.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26235","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26235"},"summary":{"title":"CVE-2020-26235","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-11-24 22:15:00","updated_at":"2020-12-03 19:42:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"https://crates.io/crates/time/0.2.23","name":"https://crates.io/crates/time/0.2.23","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"crates.io: Rust Package Registry","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://github.com/time-rs/time/issues/293","name":"https://github.com/time-rs/time/issues/293","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"The call to `localtime_r` may be unsound · Issue #293 · time-rs/time · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","name":"https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Potential segfault · Advisory · time-rs/time · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26235","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26235","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26235","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26235","vulnerable":"0","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26235","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"time_project","cpe5":"time","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26235","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"time_project","cpe5":"time","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-26235","qid":"502891","title":"Alpine Linux Security Update for newsboat"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26235","STATE":"PUBLIC","TITLE":"Segmentation fault in Rust time crate"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"time","version":{"version_data":[{"version_value":">= 0.2.7, <0.2.23"}]}}]},"vendor_name":"time-rs"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476 NULL Pointer Dereference"}]}]},"references":{"reference_data":[{"name":"https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","refsource":"CONFIRM","url":"https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396"},{"name":"https://github.com/time-rs/time/issues/293","refsource":"MISC","url":"https://github.com/time-rs/time/issues/293"},{"name":"https://crates.io/crates/time/0.2.23","refsource":"MISC","url":"https://crates.io/crates/time/0.2.23"}]},"source":{"advisory":"GHSA-wcg3-cvx6-7396","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-11-24 22:15:00","lastModifiedDate":"2020-12-03 19:42:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.6,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:time_project:time:*:*:*:*:*:*:*:*","versionStartIncluding":"0.2.7","versionEndExcluding":"0.2.23","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26235","Ordinal":"187657","Title":"CVE-2020-26235","CVE":"CVE-2020-26235","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26235","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"26235","Ordinal":"2","NoteData":"2020-11-24","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"26235","Ordinal":"3","NoteData":"2020-11-24","Type":"Other","Title":"Modified"}]}}}