Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-33913

published

libspf2: heap-based buffer overflow in SPF_record_expand_data in spf_expand.c

Title from Red Hat VEX

Published
19 Jan 2022, 00:00:00 UTC
Updated
04 Aug 2024, 00:05:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux edge libspf2 Fixed 1.2.11-r0 Package fix record
Debian stretch libspf2 Advisory build 1.2.10-7+deb9u2 DLA-2890-1
Ubuntu bionic libmail-spf-xs-perl Advisory build 1.2.10-7ubuntu0.18.04.1~esm1 USN-6584-1
Alpine Linux v3.14 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.15 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.16 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.17 libspf2 Fixed 1.2.11-r0 Package fix record
Show 18 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.18 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.19 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.20 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.21 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.22 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.23 libspf2 Fixed 1.2.11-r0 Package fix record
Alpine Linux v3.24 libspf2 Fixed 1.2.11-r0 Package fix record
Ubuntu bionic libspf2 Advisory build 1.2.10-7ubuntu0.18.04.1~esm1 USN-6584-1
Ubuntu bionic libspf2-2 Advisory build 1.2.10-7ubuntu0.18.04.1~esm1 USN-6584-1
Ubuntu bionic spfquery Advisory build 1.2.10-7ubuntu0.18.04.1~esm1 USN-6584-1
Ubuntu focal libmail-spf-xs-perl Advisory build 1.2.10-7+deb9u2build0.20.04.1 USN-6584-1
Ubuntu focal libspf2 Advisory build 1.2.10-7+deb9u2build0.20.04.1 USN-6584-1
Ubuntu focal libspf2-2 Advisory build 1.2.10-7+deb9u2build0.20.04.1 USN-6584-1
Ubuntu focal spfquery Advisory build 1.2.10-7+deb9u2build0.20.04.1 USN-6584-1
Ubuntu xenial libmail-spf-xs-perl Advisory build 1.2.10-6ubuntu0.1~esm2 USN-6584-2
Ubuntu xenial libspf2 Advisory build 1.2.10-6ubuntu0.1~esm2 USN-6584-2
Ubuntu xenial libspf2-2 Advisory build 1.2.10-6ubuntu0.1~esm2 USN-6584-2
Ubuntu xenial spfquery Advisory build 1.2.10-6ubuntu0.1~esm2 USN-6584-2

Description

libspf2 before 1.2.11 has a 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 SPF_record_expand_data in spf_expand.c. The amount of overflowed data depends on the relationship between the length of an entire domain name and the length of its leftmost label. 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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

4

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
8b860c330f0601896e9bcbff60513076f711cb0bd39337e24d0bff8b0ed27d9a
Ingested
23 Sep 2026, 07:54:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected