CVE-2021-33912: Debian Linux
Critical severity, CVSS 9.8. EPSS: 9.6% chance of exploitation in the next 30 days.
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.
Affected products
- Debian Debian Linux: version 9.0 only
- LIBSPF2 Project LIBSPF2: before 1.2.11 (fixed in 1.2.11)
Published 2022-01-19. Last modified 2026-06-17.