Skip to content

← Actionable
Unrated

Use-after-free when setting the locale

GHSA-c8v3-jhv9-4ppc

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (rust-i18n-support 3.0.1), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
not scored
EPSS
No dated EPSS signal available.
Source description

As published by the source; long descriptions are shortened.

Version 3.0.0 introduced an AtomicStr type, that is used to store the current locale. It stores the locale as a raw pointer to an Arc<String. The locale can be read with AtomicStr::asstr(). AtomicStr::asstr() does not increment the usage counter of the Arc. If the locale is changed in one thread, another thread can have a stale -- possibly already freed -- reference to the stored string.

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-c8v3-jhv9-4ppc

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: GHSA-c8v3-jhv9-4ppc

Advisory: Use-after-free when setting the locale
IDs: GHSA-c8v3-jhv9-4ppc
Record: https://patchnext.com/advisories/ghsa-c8v3-jhv9-4ppc (revision 1, source checked 26 Oct 2026, 15:38 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Unrated
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: rust-i18n-support 3.0.1. A vendor fix does not mean a deployment is fixed.

## Affected components
- crates.io rust-i18n-support: affected >= 3.0.0, < 3.0.1; fixed in 3.0.1

## Suggested inspection (read-only)
- crates.io rust-i18n-support: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on rust-i18n-support.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-c8v3-jhv9-4ppc (GitHub-reviewed advisory GHSA-c8v3-jhv9-4ppc lists affected ranges: crates.io rust-i18n-support >=3.0.0 <3.0.1)

Commands are suggestions: review each one before running it.

Loading voting…