CVE-2025-48754: Memory pages Memory_pages Division By Zero Vulnerability
LOWCVE-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
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).
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.
Upgrade memory_pages to Latest secure release
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
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?
Which Memory pages versions are affected?
What version fixes CVE-2025-48754?
Is memory_pages affected?
What is the CVSS score of CVE-2025-48754?
What CWE is associated with CVE-2025-48754?
How can I check crates.io dependencies for CVE-2025-48754?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}