{"id":"CVE-2025-68480","aliases":["CVE-2025-68480","GHSA-428g-f7cq-pgp5","PYSEC-2026-1605"],"related":[],"kind":"vulnerability","state":"published","title":"Marshmallow has DoS in Schema.load(many)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Marshmallow es una biblioteca ligera para convertir objetos complejos a y desde tipos de datos simples de Python. En versiones desde 3.0.0rc1 hasta la versión 3.26.2 anterior y desde 4.0.0 hasta la versión 4.1.2 anterior, Schema.load(data, many=True) es vulnerable a ataques de denegación de servicio. Una solicitud de tamaño moderado puede consumir una cantidad desproporcionada de tiempo de CPU. Este problema se ha corregido en la versión 3.26.2 y 4.1.2.","source":"nvd"}],"published":"2025-12-22T20:20:07.000Z","modified":"2026-10-19T22:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-405"],"affected":[{"ranges":[{"version":">= 3.0.0rc1, < 3.26.2","status":"affected"},{"version":">= 4.0.0, < 4.1.2","status":"affected"}],"vendor":"marshmallow-code","product":"marshmallow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0rc1","status":"affected","fixed":"3.26.2"}],"ecosystem":"PyPI","package":"marshmallow","purl":"pkg:pypi/marshmallow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.1.2"}],"ecosystem":"PyPI","package":"marshmallow","purl":"pkg:pypi/marshmallow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0rc1","status":"affected","fixed":"3.26.2"},{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.1.2"}],"ecosystem":"PyPI","package":"marshmallow","purl":"pkg:pypi/marshmallow","source":"pysec"}],"references":[{"url":"https://github.com/marshmallow-code/marshmallow/security/advisories/GHSA-428g-f7cq-pgp5","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/marshmallow-code/marshmallow/commit/d24a0c9df061c4daa92f71cf85aca25b83eee508","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68480","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/marshmallow-code/marshmallow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/marshmallow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-428g-f7cq-pgp5","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-22T21:34:43.372Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68480","url":"https://www.cve.org/CVERecord?id=CVE-2025-68480","licence":"CVE Terms of Use","modified":"2025-12-22T21:35:02.469Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-428g-f7cq-pgp5","url":"https://github.com/advisories/GHSA-428g-f7cq-pgp5","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.208Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68480","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68480","licence":"Public domain","modified":"2026-10-19T22:10:00.130Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1605","url":"https://osv.dev/vulnerability/PYSEC-2026-1605","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:15.412Z"}],"updatedAt":"2026-11-25T22:59:09.803Z","epss":{"score":0.00317,"percentile":0.26644,"date":"2026-12-01T12:00:22.000Z"}}