Skip to content
Heist/ feed
Back to feed
MediumFix available

python-marshmallow — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-68480

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.

Products
python-marshmallow
Affected versions
3.0.0b14-1, 3.10.0-1, 3.13.0-1, 3.18.0-1, 3.2.1-1, 3.2.2-1, 3.20.1-1.1, 3.26.1-0.2, 3.26.1-0.3, 3.26.1-0.4, 3.26.2-0.1, 3.3.0-1, 3.4.0-1
Fixed versions
3.13.0-1ubuntu0.1~esm1, 3.20.1-1.1ubuntu0.1~esm1, 3.26.1-0.4ubuntu0.1~esm1, 3.4.0-1ubuntu0.1~esm1
CVEs
CVE-2025-68480
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-68480

core-osv · Original source

Published 22 Dec 2025, 22:16 UTC

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.

osv:UBUNTU-CVE-2025-68480

python-marshmallow

Fixed versions: 3.4.0-1ubuntu0.1~esm1

python-marshmallow

Fixed versions: 3.13.0-1ubuntu0.1~esm1

python-marshmallow

Fixed versions: 3.20.1-1.1ubuntu0.1~esm1

python-marshmallow

Fixed versions: Not specified

python-marshmallow

Fixed versions: Not specified

python-marshmallow

Fixed versions: 3.26.1-0.4ubuntu0.1~esm1

Complete source record
{
  "id": "748990c8b5de4311d337d9d38a6666eab080070eee41af5389e8961f7eea041a",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-68480",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-68480",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2025-68480",
    "products": [
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.4.0-1ubuntu0.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.0.0b14-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.13.0-1ubuntu0.1~esm1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.10.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.13.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.20.1-1.1ubuntu0.1~esm1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.18.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.20.1-1.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.26.1-0.2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.26.1-0.4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.26.2-0.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-marshmallow",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.26.1-0.4ubuntu0.1~esm1",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.26.1-0.2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.26.1-0.3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.26.1-0.4",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-68480",
      "aliases": [
        "UBUNTU-CVE-2025-68480"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.4.0-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "3.0.0b14-1",
            "3.2.1-1",
            "3.2.2-1",
            "3.3.0-1",
            "3.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.4.0-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.13.0-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "3.10.0-1",
            "3.13.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.13.0-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.20.1-1.1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "3.18.0-1",
            "3.20.1-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.20.1-1.1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.26.1-0.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.26.1-0.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.26.1-0.4",
            "3.26.2-0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.26.2-0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.26.1-0.4ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-marshmallow",
            "purl": "pkg:deb/ubuntu/python-marshmallow?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "3.26.1-0.2",
            "3.26.1-0.3",
            "3.26.1-0.4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-68480.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-marshmallow",
                "binary_version": "3.26.1-0.4ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-17T12:57:39.551233879Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-68480"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-68480",
        "https://www.cve.org/CVERecord?id=CVE-2025-68480",
        "https://github.com/marshmallow-code/marshmallow/security/advisories/GHSA-428g-f7cq-pgp5",
        "https://github.com/marshmallow-code/marshmallow/commit/218d98a785d3bd25dad8880bb07e9cce70340f31",
        "https://github.com/marshmallow-code/marshmallow/commit/70141f4180fb94ced3544cdefdaff89172dd3956",
        "https://github.com/marshmallow-code/marshmallow/commit/36f87877d0e889e682386a0121eabe030cde57b1",
        "https://github.com/marshmallow-code/marshmallow/commit/0356a3f1c307830f8ded56d823abca5611c594c9",
        "https://github.com/marshmallow-code/marshmallow/commit/6d4a17dad54ea9711040c6aa6ba4d59267242a41",
        "https://github.com/marshmallow-code/marshmallow/commit/489a8d421dc7955bb53b89e962d69465fbc5b6af",
        "https://github.com/marshmallow-code/marshmallow/commit/d24a0c9df061c4daa92f71cf85aca25b83eee508",
        "https://ubuntu.com/security/notices/USN-8225-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-68480",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357659,
  "published_at": "2025-12-22T22:16:00+00:00"
}