Skip to main content
VulnerabilityPublished

CVE-2025-68480: marshmallow · Asymmetric Resource Consumption

Affects marshmallowSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium : upgrade to 4.1.2 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.1.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade marshmallow to 4.1.2.

Affected software

ProductAffectedFixed in
PyPImarshmallowpkg:pypi/marshmallowOther threatsAffected
  • >=4.0.0 <4.1.2
Fixed in
  • 4.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The most effective mitigation is to upgrade all instances of the marshmallow library to version 3.26.2 or 4.1.2 and later, where the vulnerability is patched. Organizations should conduct an inventory of Python applications and dependencies to identify vulnerable versions. In addition to upgrading, developers should implement strict input validation to reject malformed or unexpected data before deserialization. Rate limiting and throttling mechanisms at the application or API gateway level can reduce the risk of resource exhaustion from repeated malicious requests. Monitoring CPU usage and application performance metrics can help detect anomalous behavior indicative of exploitation attempts. For critical systems, consider isolating services using marshmallow in containerized or sandboxed environments to limit the impact of potential DoS attacks. Finally, maintain an up-to-date patch management process and subscribe to vulnerability advisories related to Python libraries to respond promptly to future issues.

Description

Marshmallow is a lightweight library for converting complex objects to and from simple Python datatypes. In versions from 3.0.0rc1 to before 3.26.2 and from 4.0.0 to before 4.1.2, Schema.load(data, many=True) is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time. This issue has been patched in version 3.26.2 and 4.1.2.

References

Community reviews

Loading reviews…