# CVE-2025-46730: Mobile Security Framework (MobSF) Allows Web Server Resource Exhaustion via ZIP of Death Attack

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-26)
- **CWE:** CWE-409
- **Aliases:** GHSA-c5vg-26p8-q8cr, PYSEC-2026-1671
- **Published:** 2025-05-05T19:32:24.170Z
- **Modified:** 2026-11-17T21:15:05.448Z

## Who should check

- Projects that depend on PyPI package mobsf (\< 4.4.0)
- Anyone running Mobile-Security-Framework-MobSF \<= 4.3.2

## Description

MobSF is a mobile application security testing tool used. Typically, MobSF is deployed on centralized internal or cloud-based servers that also host other security tools and web applications. Access to the MobSF web interface is often granted to internal security teams, audit teams, and external vendors.  MobSF provides a feature that allows users to upload ZIP files for static analysis. Upon upload, these ZIP files are automatically extracted and stored within the MobSF directory. However, in versions up to and including 4.3.2, this functionality lacks a check on the total uncompressed size of the ZIP file, making it vulnerable to a ZIP of Death (zip bomb) attack. Due to the absence of safeguards against oversized extractions, an attacker can craft a specially prepared ZIP file that is small in compressed form but expands to a massive size upon extraction. Exploiting this, an attacker can exhaust the server's disk space, leading to a complete denial of service (DoS) not just for MobSF, but also for any other applications or websites hosted on the same server. This vulnerability can lead to complete server disruption in an organization which can affect other internal portals and tools too (which are hosted on the same server). If some organization has created their customized cloud based mobile security tool using MobSF core then an attacker can exploit this vulnerability to crash their servers. Commit 6987a946485a795f4fd38cebdb4860b368a1995d fixes this issue. As an additional mitigation, it is recommended to implement a safeguard that checks the total uncompressed size of any uploaded ZIP file before extraction. If the estimated uncompressed size exceeds a safe threshold (e.g., 100 MB), MobSF should reject the file and notify the user.

## Affected and fixed versions

- PyPI `mobsf`: affected \< 4.4.0; fixed 4.4.0 (osv)
- Mobile-Security-Framework-MobSF: \<= 4.3.2 (cvelist)

## Mitigation

- Upgrade mobsf to 4.4.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-46730. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-46730.md
Affected: mobsf < 4.4.0
Fixed in: 4.4.0

Steps:
1. Search this machine and project for mobsf (PyPI), Mobile-Security-Framework-MobSF: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-46730 being exploited?

There is no confirmed exploitation: CVE-2025-46730 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-46730?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-46730?

mobsf \< 4.4.0.

### Is there a fix for CVE-2025-46730?

Yes. Fixed in 4.4.0. Upgrade mobsf to 4.4.0 or later.

### How do I check if I'm affected by CVE-2025-46730?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-c5vg-26p8-q8cr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-46730>
- vendor: <https://github.com/advisories/GHSA-c5vg-26p8-q8cr>
- patch: <https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/6987a946485a795f4fd38cebdb4860b368a1995d>
- other: <https://github.com/MobSF/Mobile-Security-Framework-MobSF>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/mobsf/PYSEC-2026-1671.yaml>
- other: <https://pypi.org/project/mobsf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-46730>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-c5vg-26p8-q8cr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1671> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-46730> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-46730>
