Read the docs
TI-2020-16056 Aliases CVE-2020-26235GHSA-wcg3-cvx6-7396

Segmentation fault in Rust time crate

Priority LOW 28CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-476.

Summary

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.

Why it matters now

EPSS 0.01965 80th percentileScored 2026-11-07
Fix Fixed time (time-rs): 0.2.23time (crates.io): 0.2.23

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
time-rstime0.2.7 to before 0.2.230.2.23Patch availableCNA
—time (crates.io)0.1.0 to before 0.2.230.2.23Patch availableGHSA-wcg3-cvx6-7396
—time (crates.io)0.2.7 to before 0.2.230.2.23Patch availableGHSA-wcg3-cvx6-7396
  • time Vendortime-rs Affected 0.2.7 to before 0.2.23 Fixed in 0.2.23 Patch available CNA
  • time (crates.io) Vendor— Affected 0.1.0 to before 0.2.23 Fixed in 0.2.23 Patch available GHSA-wcg3-cvx6-7396
  • time (crates.io) Vendor— Affected 0.2.7 to before 0.2.23 Fixed in 0.2.23 Patch available GHSA-wcg3-cvx6-7396

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:time_project:time:*:*:*:*:*:*:*:*0.2.7 to before 0.2.23VulnerableTime Project
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • cpe:2.3:a:time_project:time:*:*:*:*:*:*:*:* Versions 0.2.7 to before 0.2.23 Vulnerable ·Time Project
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft

Remediation

  • Fix · CNA time (time-rs) Fixed in 0.2.23
  • Fix · GHSA-wcg3-cvx6-7396 time (crates.io) Fixed in 0.2.23 Advisory →
  • Fix · GHSA-wcg3-cvx6-7396 time (crates.io) Fixed in 0.2.23 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-26235
  2. 2026-10-03 Alias added: GHSA-wcg3-cvx6-7396

References

  • TI-2026-20796 time affected by a stack exhaustion denial of service attack CVSS 4.0MEDIUM 6.8

Sources