{"id":"CVE-2025-6297","published":"2025-07-01T16:16:54Z","modified":"2026-07-08T07:48:03Z","title":"dpkg-deb: Fix cleanup for control member with restricted directories","vendor":"Debian","product":"dpkg","tier":"tail","description":{"text":"It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is\ndocumented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup. Given automated and repeated execution of dpkg-deb commands on\nadversarial .deb packages or with well compressible files, placed\ninside a directory with permissions not allowing removal by a non-root\nuser, this can end up in a DoS scenario due to causing disk quota\nexhaustion or disk full conditions.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00628,"percentile":0.44498,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ed6bbd445dd8800308c67236ba35d08004c98e82","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/07/msg00015.html","tags":[]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.9},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"debian","affectedVersions":[{"vendor":"Debian","product":"dpkg","versions":["< ed6bbd445dd8800308c67236ba35d08004c98e82"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-01T17:30:21.146019Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19670","exploited":false,"provenance":"source"}}