CVEMETERBack to radar
OFFICIAL RECORD · Rust packages

CVE-2020-26235

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 2.085% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by GitHub_M
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:55:32.182Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:55:32.182ZCVE Program
epssverified2026-11-19T16:04:28.415ZFIRST EPSS
patchesverified2026-11-19T12:52:41.971ZOSV
affectedverified2026-11-19T12:55:32.182ZCVE Program
lifecycleverified2026-11-19T12:55:32.182ZCVE Program

Affected versions and configuration

time-rs time; default status: unknown: >= 0.2.7, <0.2.23 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "time-rs",
      "product": "time",
      "versions": [
        {
          "status": "affected",
          "version": ">= 0.2.7, <0.2.23"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/time-rs/time/issues/293",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://crates.io/crates/time/0.2.23",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T15:56:03.095Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-wcg3-cvx6-7396",
  "aliases": [
    "CVE-2020-26235",
    "RUSTSEC-2020-0071"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.1.0"
            },
            {
              "fixed": "0.2.23"
            }
          ]
        }
      ],
      "package": {
        "name": "time",
        "purl": "pkg:cargo/time",
        "ecosystem": "crates.io"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-wcg3-cvx6-7396/GHSA-wcg3-cvx6-7396.json",
        "last_known_affected_version_range": "< 0.2.0"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.2.7"
            },
            {
              "fixed": "0.2.23"
            }
          ]
        }
      ],
      "package": {
        "name": "time",
        "purl": "pkg:cargo/time",
        "ecosystem": "crates.io"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-wcg3-cvx6-7396/GHSA-wcg3-cvx6-7396.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/time-rs/time/security/advisories/GHSA-wcg3-cvx6-7396",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26235",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/time-rs/time/issues/293",
      "type": "WEB"
    },
    {
      "url": "https://crates.io/crates/time/0.2.23",
      "type": "WEB"
    },
    {
      "url": "https://github.com/time-rs/time",
      "type": "PACKAGE"
    },
    {
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0071.html",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-476"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2020-11-24T22:15:00Z",
    "github_reviewed_at": "2021-08-18T21:06:21Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "RUSTSEC-2020-0071",
  "aliases": [
    "CVE-2020-26235",
    "GHSA-wcg3-cvx6-7396"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.0.0-0"
            },
            {
              "fixed": "0.2.0"
            },
            {
              "introduced": "0.2.1-0"
            },
            {
              "fixed": "0.2.1"
            },
            {
              "introduced": "0.2.2-0"
            },
            {
              "fixed": "0.2.2"
            },
            {
              "introduced": "0.2.3-0"
            },
            {
              "fixed": "0.2.3"
            },
            {
              "introduced": "0.2.4-0"
            },
            {
              "fixed": "0.2.4"
            },
            {
              "introduced": "0.2.5-0"
            },
            {
              "fixed": "0.2.5"
            },
            {
              "introduced": "0.2.6-0"
            },
            {
              "fixed": "0.2.6"
            },
            {
              "introduced": "0.2.7-0"
            },
            {
              "fixed": "0.2.23"
            }
          ]
        }
      ],
      "package": {
        "name": "time",
        "purl": "pkg:cargo/time",
        "ecosystem": "crates.io"
      },
      "versions": [],
      "database_specific": {
        "cvss": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
        "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0071.json",
        "categories": [
          "code-execution",
          "memory-corruption"
        ],
        "informational": null
      },
      "ecosystem_specific": {
        "affects": {
          "os": [
            "linux",
            "redox",
            "solaris",
            "android",
            "ios",
            "macos",
            "netbsd",
            "openbsd",
            "freebsd"
          ],
          "arch": [],
          "functions": [
            "time::OffsetDateTime::now_local",
            "time::OffsetDateTime::try_now_local",
            "time::UtcOffset::current_local_offset",
            "time::UtcOffset::local_offset_at",
            "time::UtcOffset::try_current_local_offset",
            "time::UtcOffset::try_local_offset_at",
            "time::at",
            "time::at_utc",
            "time::now"
          ]
        },
        "affected_functions": null
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://crates.io/crates/time",
      "type": "PACKAGE"
    },
    {
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0071.html",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/time-rs/time/issues/293",
      "type": "REPORT"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "license": "CC0-1.0"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.23Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.0Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.1Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.2Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.3Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.4Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.5Official record
ecosystem-boundarycrates.io / packagetimeNot a distribution channel0.2.6Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history