Incorrect Calculation Affecting cargo-c package, versions <0.10.21-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-CARGOC-15440392
  • published7 Mar 2026
  • disclosed26 Jan 2026

Introduced: 26 Jan 2026

CVE-2026-0810  (opens in a new tab)
CWE-682  (opens in a new tab)

How to fix?

Upgrade Chainguard cargo-c to version 0.10.21-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cargo-c package and not the cargo-c package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

A flaw was found in gix-date. The gix_date::parse::TimeBuf::as_str function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the TimeBuf component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.

CVSS Base Scores

version 3.1