Home / time-rs / time / CVE-2020-26235
CVE-2020-26235: is it exploited, and which versions of time-rs time are affected and fixed?
CVE-2020-26235 is a NULL pointer dereference (crash) vulnerability in time-rs time. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: time from 0.1.0 before 0.2.23 and time from 0.2.7 before 0.2.23 (GitHub advisory GHSA-wcg3-cvx6-7396). Fixed in 0.2.23 (GitHub advisory GHSA-wcg3-cvx6-7396). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:06 UTC.
What is CVE-2020-26235?
Segmentation fault in Rust time crate
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.
From the CVE record by GitHub_M, last updated August 4, 2024, 15:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| time-rs | time | >= 0.2.7, <0.2.23 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | time | >= 0.1.0, < 0.2.23 | 0.2.23 | GHSA-wcg3-cvx6-7396 |
| crates.io | time | >= 0.2.7, < 0.2.23 | 0.2.23 | GHSA-wcg3-cvx6-7396 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 10, 2024. Summary: Segmentation fault in time.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| time project | time | from 0.2.7 before 0.2.23 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:07 UTC.
How severe is CVE-2020-26235?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-26235 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.00% probability of exploitation activity in the next 30 days, percentile 81.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396 x_refsource_CONFIRM
- https://github.com/time-rs/time/issues/293 x_refsource_MISC
- https://crates.io/crates/time/0.2.23 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 1, 2020
- Published
- November 24, 2020, 21:20 UTC
- CVE record updated
- August 4, 2024, 15:56 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:07 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:06 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect time?
- Feb 6, 2026CVE-2026-25727 time-rs time: stack buffer overflow
Questions about CVE-2020-26235
Is CVE-2020-26235 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 2.00% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of time-rs time are affected by CVE-2020-26235?
time from 0.1.0 before 0.2.23 and time from 0.2.7 before 0.2.23, per the GitHub advisory GHSA-wcg3-cvx6-7396. The tables above give every range the sources list.
Which version fixes CVE-2020-26235?
0.2.23, per the GitHub advisory GHSA-wcg3-cvx6-7396. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-26235?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-26235?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.