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-20314

published

libspf2: stack buffer overflow when processing SPF explanation macros

Title from Red Hat VEX

Published
12 Aug 2021, 14:37:09 UTC
Updated
13 Feb 2025, 16:27:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — libspf21.2.11 Affected Not stated redhat
Alpine Linux edge libspf2 Fixed 1.2.10-r5 Package fix record
Debian buster libspf2 Advisory build 1.2.10-7.1~deb10u1 DSA-4955-1
Ubuntu bionic libspf2 Advisory build 1.2.10-7ubuntu0.18.04.1~esm1 USN-6584-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-2aarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
Alpine Linux edge libspf2 Fixed 1.2.11-r4 Package fix record
Alpine Linux v3.11 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.12 libspf2 Fixed 1.2.10-r5 Package fix record
Show 71 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.13 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.14 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.15 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.16 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.17 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.18 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.19 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.20 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.21 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.21 libspf2 Fixed 1.2.11-r4 Package fix record
Alpine Linux v3.22 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.22 libspf2 Fixed 1.2.11-r4 Package fix record
Alpine Linux v3.23 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.23 libspf2 Fixed 1.2.11-r4 Package fix record
Alpine Linux v3.24 libspf2 Fixed 1.2.10-r5 Package fix record
Alpine Linux v3.24 libspf2 Fixed 1.2.11-r4 Package fix record
Debian stretch libspf2 Advisory build 1.2.10-7+deb9u1 DLA-2739-1
Ubuntu focal libspf2 Advisory build 1.2.10-7+deb9u2build0.20.04.1 USN-6584-1
Ubuntu xenial libspf2 Advisory build 1.2.10-6ubuntu0.1~esm1 USN-6584-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-2ppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-2s390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-2x86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-develaarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-develppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-devels390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-develx86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-toolsaarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-toolsppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-toolss390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.2 libspf2-toolsx86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-2aarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-2ppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-2s390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-2x86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-develaarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-develppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-devels390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-develx86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-toolsaarch64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-toolsppc64le Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-toolss390x Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Leap-15.3 libspf2-toolsx86_64 Advisory build 1.2.10-bp153.5.1 OPENSUSE-SU-2021:1187-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-2aarch64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-2ppc64le Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-2s390x Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-2x86_64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-apidocsaarch64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-apidocsppc64le Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-apidocss390x Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-apidocsx86_64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-develaarch64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-develppc64le Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-devels390x Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-develx86_64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-toolsaarch64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-toolsppc64le Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-toolss390x Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed libspf2-toolsx86_64 Advisory build 1.2.10-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Mail-SPF_XSaarch64 Advisory build 0.01-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Mail-SPF_XSppc64le Advisory build 0.01-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Mail-SPF_XSs390x Advisory build 0.01-5.3 OPENSUSE-SU-2024:10995-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Mail-SPF_XSx86_64 Advisory build 0.01-5.3 OPENSUSE-SU-2024:10995-1
Ubuntu bionic libmail-spf-xs-perl 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-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~esm1 USN-6584-1
Ubuntu xenial libspf2-2 Advisory build 1.2.10-6ubuntu0.1~esm1 USN-6584-1
Ubuntu xenial spfquery Advisory build 1.2.10-6ubuntu0.1~esm1 USN-6584-1

Description

Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

28

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 libspf2 1.2.11 (affected) redhat · cna

Weaknesses

1
  • stack buffer overflow (redhat · cna)

References

5
  • https://bugzilla.redhat.com/show_bug.cgi?id=1993070 x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-aa8637c985 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CMSFT2NJDZ7PATRZSQPAOGSE7JD6ELOB/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-994751581f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFXJRHPE5OSCPTNA3ZZ4ORDHT4JQH3Y4/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-044be3d54e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6T4HYXXSUQCGJB2ES6X7Q74YYF7V7XU/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://security.gentoo.org/glsa/202401-22 x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c12ef23d649f0fa9a4270b6808c85fc26c653af7b3d59a50e69f62be3747d6d1
Ingested
23 Sep 2026, 07:52:16 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