Debian Security Analyzer: lists the vulnerabilities that affect a particular Debian installation
open sourceGPL-2.0-or-laterself-hostablefree
debsecan is a command-line tool from Debian that compares the packages installed on a host with vulnerability data from the Debian Security Tracker and lists the CVEs that affect it. Told the release (--suite), it can show only the vulnerabilities that already have a fix in the archive and flag packages that were removed from the archive. A cron job set up with debsecan-create-cron checks once a day and emails a report when new vulnerabilities appear or security updates become available, and a whitelist silences vulnerabilities you've accepted, for all packages or one. Florian Weimer wrote it in 2005; it's packaged in Debian's current releases and maintained by Debian developers (version 0.4.20.2 in testing since March 2026).
Ways to install
Package managers
Problems it solves
- list the CVEs that affect the packages installed on this Debian server
- get an email when a security update is available for one of my Debian packages
- show only the vulnerabilities on a Debian host that already have a fixed package to install
- find packages on an old Debian box that were dropped from the archive and no longer get security fixes
- ignore a CVE we've assessed as not relevant so it stops appearing in daily vulnerability reports
- check a Debian machine against the Debian Security Tracker from a cron job
- a lightweight vulnerability check for Debian servers without installing a scanning agent or SaaS
- audit which installed Debian packages are affected by known vulnerabilities for a compliance report
Features
- lists vulnerabilities affecting installed packages, from the Debian Security Tracker
- --only-fixed lists only vulnerabilities with a fix in the archive
- flags obsolete packages removed from the archive when given the suite
- summary, simple, detail, bugs, packages and report output formats
- daily cron job with emailed reports of new vulnerabilities and available updates
- whitelist of accepted vulnerabilities, per CVE or per CVE and package
- can evaluate another dpkg status file (--status)
- configurable vulnerability data source URL
Limitations
- Flags every binary package built from a vulnerable source package: tracking is per source package, so documentation-only packages show up too2
- Can report a fix before it's built for your architecture: build daemons for some architectures lag behind2
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what debsecan does.
- Grype A vulnerability scanner for container images and filesystems.
- Trivy Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- OpenSCAP Open source security compliance solution
- Nessus Tenable's vulnerability scanner for networks, hosts and configuration audits