{"id":"UBUNTU-CVE-2026-33155","details":"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.","modified":"2026-05-20T16:25:24.264673978Z","published":"2026-03-20T21:17:00Z","upstream":["CVE-2026-33155"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33155"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33155"},{"type":"REPORT","url":"https://github.com/qlustered/deepdiff/commit/0d07ec21d12b46ef4e489383b363eadc22d990fb"},{"type":"REPORT","url":"https://github.com/qlustered/deepdiff/security/advisories/GHSA-54jj-px8x-5w5q"}],"affected":[{"package":{"name":"deepdiff","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/deepdiff?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1","3.3.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.0-2","binary_name":"python3-deepdiff"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"}},{"package":{"name":"deepdiff","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/deepdiff?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-2","3.3.0-2ubuntu1","3.3.0-3","5.6.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-deepdiff","binary_version":"5.6.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"}},{"package":{"name":"deepdiff","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/deepdiff?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.2-1","6.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.7.1-1","binary_name":"python3-deepdiff"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"}},{"package":{"name":"deepdiff","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/deepdiff?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-3","8.1.1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-deepdiff","binary_version":"8.1.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"}},{"package":{"name":"deepdiff","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/deepdiff?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-4","8.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-deepdiff","binary_version":"8.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33155.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}