
CVE catalog
CVE-2020-26235
rust-time: CVE-2020-26235
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-time | sid | 0.3.55-1 | not affected |
| Debian | rust-time | forky | 0.3.55-1 | not affected |
| Debian | rust-time | trixie | 0.3.37-1+deb13u1 | not affected |
| Debian | rust-time | bookworm | 0.3.9-1+deb12u1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-time | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-time | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-time | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | rust-time | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-time-dev]Not affected
Source package: [rust-time]
Details (2)
0.3.9-1+deb12u1· amd64 · bookwormNot affected
dsa · rust-time · debian · bookworm
0.3.9-1+deb12u1· arm64 · bookwormNot affected
dsa · rust-time · debian · bookworm
Observed: