CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Debian

CVE-2025-6297
Debian Dpkg vulnerability

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 DoS scenario due to causing disk quota exhaustion or disk full conditions.

Affected products

Dpkg. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Debian Dpkg runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Debian products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.