Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
RUSTSEC-2026-0590No CVE assigned

Fixed and Dynamic secret wrappers were not zeroized on drop

Products / packages secure-gate

Published

Share

Severity and exploitation

KEV unavailable / staleNo CVSS score

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 22:10:32 UTC

Severity

unknown

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

KEV status unavailable or stale

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Package fixes recorded

Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.

What this means

In affected versions, the Fixed and Dynamic wrappers (and the FixedNoClone / DynamicNoClone variants in 0.6.x) did not wipe their contents when dropped. The types implemented the zeroize::ZeroizeOnDrop marker trait, which has no methods and does nothing by itself, but had no Drop implementation. The documentation stated that secrets were zeroized on drop.

Source excerpt · OSV

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

Packages

Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.

secure-gate crates.io
Affected range Recorded fix
From 0.5.0 before 0.8.0-rc.1Semantic versions0.8.0-rc.1

Version evidence: OSV · RUSTSEC-2026-0590

View original version evidence (0 explicit versions)

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

`Fixed` and `Dynamic` secret wrappers were not zeroized on drop

In affected versions, the Fixed<T> and Dynamic<T> wrappers (and the FixedNoClone / DynamicNoClone variants in 0.6.x) did not wipe their contents when dropped. The types implemented the zeroize::ZeroizeOnDrop marker trait, which has no methods and does nothing by itself, but had no Drop implementation. The documentation stated that secrets were zeroized on drop.

A secret held in one of these wrappers stayed in the freed stack or heap memory after the wrapper went out of scope, where it could be read by anything able to observe that memory later, such as a core dump, swap, or a separate memory disclosure bug.

Versions before 0.5.0 are not affected: with the default zeroize feature they stored the secret in secrecy::SecretBox or zeroize::Zeroizing, both of which wipe on drop.

The flaw was fixed by making zeroize a required dependency, bounding the wrappers on T: Zeroize, and adding Drop implementations that call zeroize(). The first published release with the fix is 0.8.0-rc.1; the first stable release is 0.8.0. All affected versions have been yanked from crates.io.

References

3 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification · not supplied
Additional publishers · not supplied

Describes the evidence in this view, not whether the product is safe.

Original records

No official CVE record has been imported. Use the source links below for the original advisory.

cve.new JSON →

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.