# debsecan

> Debian Security Analyzer: lists the vulnerabilities that affect a particular Debian installation

Source: https://talira.ai/catalog/debsecan-t0yw9t2w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / vulnerability scanning](https://talira.ai/categories/security/vulnerability-scanning), [it / patch management](https://talira.ai/categories/it/patch-management)
- Platforms: linux[^4]
- Licence: GPL-2.0-or-later[^3]
- Pricing: Free and open source[^3]
- Pricing notes: Free software (GPL-2.0-or-later), installed from Debian's archive.
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Backed by: [Debian Project](https://talira.ai/orgs/debian-project.md)
- Creator: Florian Weimer

debsecan is a command-line tool from [Debian](https://talira.ai/catalog/debian-xqbs9v9y.md) 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).

## Links

- Website: https://security-team.debian.org/security_tracker.html
- Docs: https://manpages.debian.org/trixie/debsecan/debsecan.1.en.html

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/debsecan>[^1]

## 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 too[^2]
- Can report a fix before it's built for your architecture: build daemons for some architectures lag behind[^2]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.40 out of 1.
Signals: backing 0.50, extensibility 0.20.

- backed by Debian Project
- created by Florian Weimer

Warnings:

- activity not tracked: no repository is linked

## Related

- Works with [Debian](https://talira.ai/catalog/debian-xqbs9v9y.md)

## Alternatives

- [Grype](https://talira.ai/catalog/grype-e734z6vj.md): A vulnerability scanner for container images and filesystems.
- [Trivy](https://talira.ai/catalog/trivy-bwebatvr.md): Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
- [OpenSCAP](https://talira.ai/catalog/openscap-qmgq63f3.md): Open source security compliance solution
- [Nessus](https://talira.ai/catalog/nessus-b3smz318.md): Tenable's vulnerability scanner for networks, hosts and configuration audits

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^2]: https://manpages.debian.org/trixie/debsecan/debsecan.1.en.html (checked 20 Nov 2026)
[^3]: https://metadata.ftp-master.debian.org/changelogs//main/d/debsecan/debsecan_0.4.20.1_copyright (checked 20 Nov 2026)
[^4]: https://packages.debian.org/trixie/debsecan (checked 20 Nov 2026)
