{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-33912","published":"2022-01-19T18:15:07.783000Z","last_modified":"2026-06-17T03:55:22.187000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:libspf2_project:libspf2:*:*:*:*:*:*:*:*","part":"a","vendor":"libspf2_project","product":"libspf2","version_end_excluding":"1.2.11"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["libspf2_project","debian"],"products":["libspf2_project/libspf2","debian/debian_linux"],"epss":{"score":0.10348,"percentile":0.96452,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2021-33912/","html_en":"/en/cve/CVE-2021-33912/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-33912","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-33912"},"untrusted":{"vendor_name":"Libspf2 Project","product_name":"Libspf2","desc_en":"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":[],"references":[{"url":"https://github.com/shevek/libspf2/tree/8131fe140704eaae695e76b5cd09e39bd1dd220b","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00015.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://nathanielbennett.com/blog/libspf2-cve-jan-2022-disclosure","tags":["Exploit","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202401-22","tags":[]}]}}