VDB

CVE-2021-20314

CVE-2021-20314 PUBLISHED

Reported by redhat · Published August 12, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libspf2Ubuntu:Pro:16.04:LTS1.2.10-6ubuntu0.1~esm1
libspf2Ubuntu:20.04:LTS1.2.10-7+deb9u2build0.20.04.1
libspf2Ubuntu:Pro:18.04:LTS1.2.10-7ubuntu0.18.04.1~esm1

Affected products

VendorProductVersions
n/alibspf21.2.11
n/alibspf21.2.11

Timeline

  • Aug 11, 2021 CVE Published
  • Aug 12, 2021 PoC Published
  • Aug 13, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-20314
vulnetix vdb fixes CVE-2021-20314

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20314/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›