CVE Explorer
CVE-2025-6297
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is
documented 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
adversarial .deb packages or with well compressible files, placed
inside a directory with permissions not allowing removal by a non-root
user, this can end up in a
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/0/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"dpkg","vendor":"Debian","versions":[{"lessThan":"ed6bbd445dd8800308c67236ba35d08004c98e82","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/0/problemTypes/1/descriptions/0
Source references
2 source assertions{"url":"https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ed6bbd445dd8800308c67236ba35d08004c98e82"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/cna/references/0
{"url":"https://lists.debian.org/debian-lts-announce/2026/07/msg00015.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d599db6962754add4f8cf81318457d5e8bb64d0c886db3f4b1b0f35afb562e33 · sha256:c50c4b46839de92c… · /containers/adp/1/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.