{"id":"PYSEC-2026-1605","summary":"Marshmallow has DoS in Schema.load(many)","details":"### Impact\n\n`Schema.load(data, many=True)` is vulnerable to denial of service attacks. A moderately sized request can consume a disproportionate amount of CPU time.\n\n### Patches\n\n4.1.2, 3.26.2\n\n### Workarounds\n\n```py\n# Fail fast\ndef load_many(schema, data, **kwargs):\n    if not isinstance(data, list):\n        raise ValidationError(['Invalid input type.'])\n    return [schema.load(item, **kwargs) for item in data]\n```","aliases":["CVE-2025-68480","GHSA-428g-f7cq-pgp5"],"modified":"2026-07-07T17:46:15.412219531Z","published":"2026-07-07T16:03:14.008333Z","references":[{"type":"WEB","url":"https://github.com/marshmallow-code/marshmallow/security/advisories/GHSA-428g-f7cq-pgp5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68480"},{"type":"WEB","url":"https://github.com/marshmallow-code/marshmallow/commit/d24a0c9df061c4daa92f71cf85aca25b83eee508"},{"type":"PACKAGE","url":"https://github.com/marshmallow-code/marshmallow"},{"type":"PACKAGE","url":"https://pypi.org/project/marshmallow"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-428g-f7cq-pgp5"}],"affected":[{"package":{"name":"marshmallow","ecosystem":"PyPI","purl":"pkg:pypi/marshmallow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0rc1"},{"fixed":"3.26.2"},{"introduced":"4.0.0"},{"fixed":"4.1.2"}]}],"versions":["3.0.0","3.0.0rc1","3.0.0rc2","3.0.0rc3","3.0.0rc4","3.0.0rc5","3.0.0rc6","3.0.0rc7","3.0.0rc8","3.0.0rc9","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.12.0","3.12.1","3.12.2","3.13.0","3.14.0","3.14.1","3.15.0","3.16.0","3.17.0","3.17.1","3.18.0","3.19.0","3.2.0","3.2.1","3.2.2","3.20.0","3.20.1","3.20.2","3.21.0","3.21.1","3.21.2","3.21.3","3.22.0","3.23.0","3.23.1","3.23.2","3.23.3","3.24.0","3.24.1","3.24.2","3.25.0","3.25.1","3.26.0","3.26.1","3.3.0","3.4.0","3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.7.0","3.7.1","3.8.0","3.9.0","3.9.1","4.0.0","4.0.1","4.1.0","4.1.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/marshmallow/PYSEC-2026-1605.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}