LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31996: An issue was discovered in the algorithmica crate through 2021-03-07 for Rust.

An issue was discovered in the algorithmica crate through 2021-03-07 for Rust. There is a double free in merge_sort::merge().

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-31996 is a memory-safety flaw in the Rust algorithmica crate. The reported issue is a double free in merge_sort::merge(), which can destabilize software that uses that crate path. Public data does not provide a CVSS score, confirmed patch version, or evidence of active exploitation.

Executive priority

Treat this as a targeted dependency risk, not a confirmed active campaign. Prioritize inventory first, then remediate any reachable production use, especially in services processing untrusted data.

Technical view

The vulnerability is described as a double free in algorithmica's merge_sort::merge() through 2021-03-07. Double free bugs can cause process crashes or memory corruption when reachable. The source bundle does not identify affected versions beyond the date-based statement, CPEs, CWE mapping, or exploitability details.

Likely exposure

Exposure is likely limited to Rust applications that include the algorithmica crate and use the affected merge sort functionality. Internet exposure depends on whether attacker-influenced data can reach that code path. The public record does not show broad platform impact.

Exploitation context

The bundle shows this CVE is not in KEV and provides no cited evidence of active exploitation. It also does not provide exploit prerequisites, proof-of-concept status, or real-world incident reporting.

Researcher notes

Evidence is sparse: the CVE names the crate, date range, and vulnerable function, but omits CVSS, CWE, CPEs, exploit status, and fixed-version details. Analysis should remain dependency- and reachability-driven.

Mitigation direction

  • Inventory Rust projects for the algorithmica crate dependency.
  • Check the RustSec advisory and upstream crate guidance for fixed or unaffected versions.
  • Remove or replace algorithmica if no maintained fixed version is available.
  • Avoid routing untrusted input through affected merge sort paths until remediated.
  • Add RustSec-aware dependency advisory checks to routine builds.

Validation and detection

  • Review Cargo manifests and lockfiles for algorithmica usage.
  • Map application code paths that call algorithmica merge sort functions.
  • Confirm whether external or user-controlled data reaches those code paths.
  • Verify the deployed dependency version against RustSec and upstream guidance.
  • Document compensating controls if immediate replacement is not possible.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-31996 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.