LiveActive security incident?Get immediate response
CVE Record

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw can crash affected Rust applications that use the time crate on Unix-like systems. It requires a narrow threading condition involving environment variable changes, so it is not broadly trivial. The business impact is availability: a vulnerable service could unexpectedly terminate.

Executive priority

Treat as a moderate availability risk. Patch during the next dependency maintenance cycle, sooner for internet-facing or operationally critical Unix services using the affected crate paths.

Technical view

time-rs time versions 0.2.7 through before 0.2.23 may dereference a dangling pointer on Unix-like systems. The vulnerable paths are local offset and local time functions, including UtcOffset and OffsetDateTime local APIs. Windows and wasm are listed as unaffected.

Likely exposure

Exposure is limited to Rust applications depending on time >=0.2.7 and <0.2.23 on Unix-like operating systems, especially where affected local-time APIs run while another thread mutates environment variables.

Exploitation context

The bundle does not show CISA KEV listing or cited active exploitation. The CVSS vector rates availability impact high but attack complexity high, with privileges required and no user interaction.

Researcher notes

The advisory ties exploitation to concurrent environment mutation and affected local time APIs. Evidence supports a denial-of-service style crash risk, not confidentiality or integrity compromise. No exploit status beyond the provided references is established.

Mitigation direction

  • Upgrade the time crate to version 0.2.23 or later.
  • Review vendor advisory GHSA-wcg3-cvx6-7396 before selecting remediation.
  • Refresh dependency lockfiles so transitive time dependencies resolve to a fixed version.
  • Prioritize services where process crashes affect public availability.

Validation and detection

  • Inspect dependency manifests and lockfiles for time versions >=0.2.7 and <0.2.23.
  • Confirm vulnerable services run on Unix-like targets, not Windows or wasm.
  • Search code for affected local offset and local time API usage.
  • Check whether application threads can mutate environment variables at runtime.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-26235 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H1.63.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2020-26235Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
time-rstime>= 0.2.7, <0.2.23Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.