cve.bz

CVE-2020-26235 time project time: NULL Pointer Dereference

5.3 mediumEPSS 2.0%Fix available

Medium (5.3) in time project time. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in time 0.2.0, 0.2.1, 0.2.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.1% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26235 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26235?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26235?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26235 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
time_project:timefrom 0.2.7 before 0.2.23

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wcg3-cvx6-7396crates.iotime>=0.1.0 <0.2.230.2.23
GHSA-wcg3-cvx6-7396crates.iotime>=0.2.7 <0.2.230.2.23
RUSTSEC-2020-0071crates.iotime>=0.0.0-0 <0.2.0
>=0.2.1-0 <0.2.1
>=0.2.2-0 <0.2.2
>=0.2.3-0 <0.2.3
>=0.2.4-0 <0.2.4
>=0.2.5-0 <0.2.5
>=0.2.6-0 <0.2.6
>=0.2.7-0 <0.2.23
0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morerust-timeno fix listedUBUNTU-CVE-2020-26235
Alpinev3.17, v3.18, v3.19 and 5 morenewsboat2.30.1-r0ALPINE-CVE-2020-26235

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Alpine.

References

Check your stackJSON