Debian Security Advisory

DLA-2739-1 libspf2 -- LTS security update

Date Reported:
11 Aug 2021
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2021-20314.
More information:

Philipp Jeitner and Haya Shulman discovered a stack-based buffer overflow in libspf2, a library for validating mail senders with SPF, which could result in denial of service, or potentially execution of arbitrary code when processing a specially crafted SPF record.

For Debian 9 stretch, this problem has been fixed in version 1.2.10-7+deb9u1.

We recommend that you upgrade your libspf2 packages.

For the detailed security status of libspf2 please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: