SecurityContext

CVE-2020-26235: Rust time crate - Null Pointer Dereference

  • Cve: CVE-2020-26235
  • Name: Rust time crate - Null Pointer Dereference
  • 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.
  • Impact: Attackers can cause denial of service (crashes) on affected systems by triggering segmentation faults.
  • Remediation: Update to version 0.2.23 or later.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.02003
  • Epss percentile: 0.8131
  • Assignee: [email protected]
  • Published at: 2020-11-24T22:15:11Z
  • Age in days: 2191
  • Modified at: 2026-06-17T03:07:53Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-26235
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://github.com/federiconbaez/cortex9-time-crate-env-race-interleaving-modelpoc-in-github2026-11-06

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396Patch, Third Party Advisory
https://crates.io/crates/time/0.2.23Release Notes, Vendor Advisory
https://github.com/time-rs/time/issues/293Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
time_project:time>= 0.2.7, < 0.2.23yesnvd/v1/products/time_project/time

Projects

RepositoryLink kindsIndexedUrl
time-rs/timeissues, package, security_advisoryyes/v1/repositories/time-rs/time

Index

  • Repositories: 114
  • Repositories high signal: 38
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-11-06
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts