apt-listbugs is a tool which retrieves bug reports from the Debian Bug Tracking System and lists them.
If you want to be warned about critical bugs of a package that is about to be installed or upgraded, just install it it withsudo apt-get install apt-listbugs