CVE catalog

CVE-2020-26235

rust-time: CVE-2020-26235

[CVE catalog]

Severity
Low
Source
[NVD] · [CVE record]
EPSS
1.97% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-timesid0.3.55-1not affected
Debianrust-timeforky0.3.55-1not affected
Debianrust-timetrixie0.3.37-1+deb13u1not affected
Debianrust-timebookworm0.3.9-1+deb12u1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-timesourcesidNot affectedunimportantNot reportedNot reported
Debianrust-timesourceforkyNot affectedunimportantNot reportedNot reported
Debianrust-timesourcetrixieNot affectedunimportantNot reportedNot reported
Debianrust-timesourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librust-time-dev]Not affected

    Source package: [rust-time]

    Details (2)
    • 0.3.9-1+deb12u1 · amd64 · bookworm

      Not affected

      dsa · rust-time · debian · bookworm

    • 0.3.9-1+deb12u1 · arm64 · bookworm

      Not affected

      dsa · rust-time · debian · bookworm

Observed:

References