libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade libspf2 | Mar 26, 2024 | Jan 19, 2022 |
| Debian | — | Upgrade libspf2 | Jan 24, 2022 | Jan 19, 2022 |
| Gentoo Linux | — | Upgrade mail-filter/libspf2. | Jan 16, 2024 | Jan 19, 2022 |
| Ubuntu | — | Upgrade libspf2-2Upgrade spfqueryUpgrade libspf2-devUpgrade libspf2-dev (Ubuntu Pro)Upgrade libspf2-2 (Ubuntu Pro)Upgrade libmail-spf-xs-perl (Ubuntu Pro)Upgrade spfquery (Ubuntu Pro)Upgrade libmail-spf-xs-perl | Jan 16, 2024 | Jan 19, 2022 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub