{"schemaVersion":3,"id":"CVE-2020-26235","aliases":["UBUNTU-CVE-2020-26235","CGA-38j9-gp2h-5m8p","CGA-39c8-4fvx-v35q","CGA-4c47-wrhp-rrvh","CGA-5jvv-mqj2-3f6x","CGA-627p-h8jf-4v5v","CGA-7fgq-vjhh-885f","CGA-82v9-f7vm-2pmx","CGA-cj6c-mjvc-wf9c","CGA-fp9q-4f6w-g46r","CGA-j8cg-8vjw-w549","CGA-jc8j-42vw-j2v5","CGA-mcr7-r88f-8mhp","CGA-ppv7-fq92-745p","CGA-q848-gfgc-cww9","GHSA-wcg3-cvx6-7396","RUSTSEC-2020-0071","CGA-rmvr-9ccr-wjhw"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-11-24T21:20:14.000Z","modified":"2024-08-04T15:56:03.095Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":6.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01965,"percentile":0.80062,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.32399999999999995,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01641},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01965,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01965,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01965,"percentile":0.80062}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01628,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01888,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01965,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01965,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01965,"percentile":0.80062}]},"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":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"chainguard","product":"berg","name":"berg","label":"berg","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/berg","purlType":"apk","versions":[{"text":"< 0.4.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.7-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"pgcat","name":"pgcat","label":"pgcat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pgcat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"pulumi-watch","name":"pulumi-watch","label":"pulumi-watch","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pulumi-watch","purlType":"apk","versions":[{"text":"< 0.1.5-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.5-r5","eol":null,"hubHref":null},{"vendor":"chainguard","product":"toda","name":"toda","label":"toda","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/toda","purlType":"apk","versions":[{"text":"< 0.2.4-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.4-r4","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij","name":"zellij","label":"zellij","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-bash-completion","name":"zellij-bash-completion","label":"zellij-bash-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-bash-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-fish-completion","name":"zellij-fish-completion","label":"zellij-fish-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-fish-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"zellij-zsh-completion","name":"zellij-zsh-completion","label":"zellij-zsh-completion","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/zellij-zsh-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"berg","name":"berg","label":"berg","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/berg","purlType":"apk","versions":[{"text":"< 0.4.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.7-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"pgcat","name":"pgcat","label":"pgcat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/pgcat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"pulumi-watch","name":"pulumi-watch","label":"pulumi-watch","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/pulumi-watch","purlType":"apk","versions":[{"text":"< 0.1.5-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.5-r5","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij","name":"zellij","label":"zellij","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-bash-completion","name":"zellij-bash-completion","label":"zellij-bash-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-bash-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-fish-completion","name":"zellij-fish-completion","label":"zellij-fish-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-fish-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"zellij-zsh-completion","name":"zellij-zsh-completion","label":"zellij-zsh-completion","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/zellij-zsh-completion","purlType":"apk","versions":[{"text":"< 0.41.2-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.41.2-r2","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"time","name":"time","label":"time","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/time","purlType":"cargo","versions":[{"text":"≥ 0.1.0, < 0.2.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.2.7, < 0.2.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.2.7-0, < 0.2.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.0, < 0.2.23 | ≥ 0.2.7, < 0.2.23 | ≥ 0.2.7-0, < 0.2.23","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-time","name":"rust-time","label":"rust-time","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-time","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"time_project","product":"time","name":"time","label":"time","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.2.7, < 0.2.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.2.7, < 0.2.23","eol":null,"hubHref":"/vendor/time_project/time"},{"vendor":"time-rs","product":"time","name":"time","label":"time","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.2.7, < 0.2.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.2.7, < 0.2.23","eol":null,"hubHref":"/vendor/time-rs/time"}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","label":"github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","FIX","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/time-rs/time/issues/293","label":"github.com/time-rs/time/issues/293","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Issue Tracking","Third Party Advisory"]},{"url":"https://crates.io/crates/time/0.2.23","label":"crates.io/crates/time/0.2.23","hostname":"crates.io","tags":["X Refsource MISC","Advisory","WEB","Release Notes","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-26235","label":"ubuntu.com/security/CVE-2020-26235","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0071.html","label":"rustsec.org/advisories/RUSTSEC-2020-0071.html","hostname":"rustsec.org","tags":["REPORT","WEB","Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26235","label":"www.cve.org/CVERecord?id=CVE-2020-26235","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26235","label":"nvd.nist.gov/vuln/detail/CVE-2020-26235","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/time-rs/time","label":"github.com/time-rs/time","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/time","label":"crates.io/crates/time","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-3QGW-PHCC-2FH2","CGA-6CQ7-2MJ5-P8XC","CGA-MJMH-C4XV-QXJM","RUSTSEC-2020-0159"]},"timeline":[{"kind":"published","date":"2020-11-24T21:20:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:56:03.095Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:12:19.607Z","stale":false,"partial":false}}