Use a package repository that fast-tracks security updates, like Debian Stable.