CVE-2025-48754: Memory pages Memory_pages Division By Zero Vulnerability

LOW
Advisory Identifier: GHSA-5r4r-9fgh-pw53
CVSS 2.9
CWE-369
Published
Advisory Summary

CVE-2025-48754 is a LOW (CVSS 2.9) memory_pages division by zero vulnerability (CWE-369: Divide By Zero) affecting Memory pages libraries in the crates.io ecosystem. The issue involves memory_pages division by zero. Remediation is available in the latest vendor maintenance releases.

CVE-2025-48754 at a Glance

CVE Identifier CVE-2025-48754
GHSA Identifier GHSA-5r4r-9fgh-pw53
Severity LOW
CVSS v3.1 Base Score 2.9
CWE Classification CWE-369: Divide By Zero
Affected Product Memory pages
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 2.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2025-48754

To remediate this vulnerability, upgrade all affected Memory pages dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

memory_pages fixed: Latest secure release
Upgrade memory_pages to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for memory_pages

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-48754, inspect your project dependencies for Memory pages:

inspect dependencies for memory_pages

Analyze the terminal output to locate any version of Memory pages in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-369: Divide By Zero, where the product divides a value by zero. In Memory pages, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In the memory_pages crate 0.1.0 for Rust, division by zero can occur.

CVE-2025-48754 Affected Memory pages Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
memory_pages
crates.io
≤ 0.1.0

References

Frequently Asked Questions

What is CVE-2025-48754?
CVE-2025-48754 is a security vulnerability in Memory pages involving memory_pages division by zero under CWE-369: Divide By Zero.
Which Memory pages versions are affected?
Affected versions include releases prior to current release patches across affected packages: memory_pages.
What version fixes CVE-2025-48754?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is memory_pages affected?
Yes, memory_pages is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-48754?
CVE-2025-48754 has a CVSS v3.1 base score of 2.9 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2025-48754?
CVE-2025-48754 is classified under CWE-369: Divide By Zero (The product divides a value by zero.).
How can I check crates.io dependencies for CVE-2025-48754?
Run the dependency tree command: 'inspect dependencies for memory_pages'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5r4r-9fgh-pw53",
  "modified" : "2025-05-27T18:04:27Z",
  "published" : "2025-05-24T03:30:19Z",
  "aliases" : [ "CVE-2025-48754" ],
  "summary" : "memory_pages division by zero",
  "details" : "In the memory_pages crate 0.1.0 for Rust, division by zero can occur.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "memory_pages"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48754"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FractalFir/memory_pages/issues/1"
  }, {
    "type" : "WEB",
    "url" : "https://crates.io/crates/memory_pages"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FractalFir/memory_pages"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-369" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-27T18:04:27Z",
    "nvd_published_at" : "2025-05-24T03:15:24Z"
  }
}