NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-68480: Marshmallow has DoS in Schema.load(many)

mediumCVSS 3.1 5.3GHSA-428g-f7cq-pgp5

Impact Schema.load(data, many=True) is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time. Patches 4.1.2, 3.26.2 Workarounds

Published Dec 22, 2025 · Updated Dec 23, 2025

Affected packages

marshmallow

Ecosystem
PyPI
Affected
>= 3.0.0rc1, < 3.26.2
Fixed in
3.26.2
Check
pip show marshmallow

marshmallow

Ecosystem
PyPI
Affected
>= 4.0.0, < 4.1.2
Fixed in
4.1.2
Check
pip show marshmallow

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Schema.load(data, many=True) is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time.

Patches

4.1.2, 3.26.2

Workarounds

# Fail fast
def load_many(schema, data, **kwargs):
    if not isinstance(data, list):
        raise ValidationError(['Invalid input type.'])
    return [schema.load(item, **kwargs) for item in data]

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology