ADVISORIES

Vulnerability

CVE-2020-26235

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.

20 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • ALPINE-CVE-2020-26235

    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…

    CVE-2020-26235 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2020-26235
    CVE-2020-26235 Alpine Updated 18 November 2026
  • CGA-38j9-gp2h-5m8p
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-39c8-4fvx-v35q
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-4c47-wrhp-rrvh
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-5jvv-mqj2-3f6x
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-627p-h8jf-4v5v
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-7fgq-vjhh-885f
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-82v9-f7vm-2pmx
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-cj6c-mjvc-wf9c
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-fp9q-4f6w-g46r
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-j8cg-8vjw-w549
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-jc8j-42vw-j2v5
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-mcr7-r88f-8mhp
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-ppv7-fq92-745p
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-q848-gfgc-cww9
    CVE-2020-26235 ChainguardWolfi Updated 5 November 2026
  • CGA-rmvr-9ccr-wjhw
    CVE-2020-26235 Chainguard Updated 5 November 2026
  • GHSA-wcg3-cvx6-7396

    Segmentation fault in time

    Moderate CVE-2020-26235 crates.io Updated 10 September 2026
  • RUSTSEC-2020-0071

    Potential segfault in the time crate

    CVE-2020-26235 crates.io Updated 4 February 2026
  • UBUNTU-CVE-2020-26235

    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…

    CVE-2020-26235 Ubuntu Updated 17 October 2026

References