Skip to content
Heist/ feed
Back to feed
High

deepdiff — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-33155

DeepDiff is a project focused on Deep Difference and search of any Python data. From version 5.0.0 to before version 8.6.2, the pickle unpickler _RestrictedUnpickler validates which classes can be loaded but does not limit their constructor arguments. A few of the types in SAFE_TO_IMPORT have constructors that allocate memory proportional to their input (builtins.bytes, builtins.list, builtins.range). A 40-byte pickle payload can force 10+ GB of memory, which crashes applications that load delta objects or call pickle_load with untrusted data. This issue has been patched in version 8.6.2.

Products
deepdiff
Affected versions
3.3.0-1, 3.3.0-2, 3.3.0-2ubuntu1, 3.3.0-3, 5.6.0-2, 6.2.2-1, 6.7.1-1, 8.1.1-3, 8.1.1-4, 8.6.1-1, 9.0.0-1
Fixed versions
Not specified
CVEs
CVE-2026-33155
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-33155

core-osv · Original source

Published 20 Mar 2026, 21:17 UTC

DeepDiff is a project focused on Deep Difference and search of any Python data. From version 5.0.0 to before version 8.6.2, the pickle unpickler _RestrictedUnpickler validates which classes can be loaded but does not limit their constructor arguments. A few of the types in SAFE_TO_IMPORT have constructors that allocate memory proportional to their input (builtins.bytes, builtins.list, builtins.range). A 40-byte pickle payload can force 10+ GB of memory, which crashes applications that load delta objects or call pickle_load with untrusted data. This issue has been patched in version 8.6.2.

osv:UBUNTU-CVE-2026-33155

deepdiff

Fixed versions: Not specified

deepdiff

Fixed versions: Not specified

deepdiff

Fixed versions: Not specified

deepdiff

Fixed versions: Not specified

deepdiff

Fixed versions: Not specified

deepdiff

Fixed versions: Not specified

Complete source record
{
  "id": "1cd1e27e1ced60d2e12e18758c847984a50cc1fcbf877e97ac13cf416731c1ec",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-33155",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-33155",
    "summary": "DeepDiff is a project focused on Deep Difference and search of any Python data. From version 5.0.0 to before version 8.6.2, the pickle unpickler _RestrictedUnpickler validates which classes can be loaded but does not limit their constructor arguments. A few of the types in SAFE_TO_IMPORT have constructors that allocate memory proportional to their input (builtins.bytes, builtins.list, builtins.range). A 40-byte pickle payload can force 10+ GB of memory, which crashes applications that load delta objects or call pickle_load with untrusted data. This issue has been patched in version 8.6.2.",
    "evidence": "osv:UBUNTU-CVE-2026-33155",
    "products": [
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.3.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.3.0-2ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.3.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.6.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.2.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "6.7.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "8.1.1-4",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.6.1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "9.0.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "deepdiff",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.1-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "8.6.1-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-33155",
      "aliases": [
        "UBUNTU-CVE-2026-33155"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.3.0-1",
            "3.3.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "3.3.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.3.0-2",
            "3.3.0-2ubuntu1",
            "3.3.0-3",
            "5.6.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "5.6.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "6.2.2-1",
            "6.7.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "6.7.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "8.1.1-3",
            "8.1.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "8.1.1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "8.6.1-1",
            "9.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "9.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "deepdiff",
            "purl": "pkg:deb/ubuntu/deepdiff?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "8.1.1-4",
            "8.6.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-deepdiff",
                "binary_version": "8.6.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:10.438044472Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-33155"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-33155",
        "https://www.cve.org/CVERecord?id=CVE-2026-33155",
        "https://github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb",
        "https://github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-33155",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358271,
  "published_at": "2026-03-20T21:17:00+00:00"
}