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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libspf2 | Ubuntu:Pro:16.04:LTS | 1.2.10-6ubuntu0.1~esm1 |
| libspf2 | Ubuntu:20.04:LTS | 1.2.10-7+deb9u2build0.20.04.1 |
| libspf2 | Ubuntu:Pro:18.04:LTS | 1.2.10-7ubuntu0.18.04.1~esm1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | libspf2 | 1.2.11 |
| n/a | libspf2 | 1.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
- x_refsource_MISC
- FEDORA-2021-aa8637c985 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-994751581f vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-044be3d54e vendor-advisoryx_refsource_FEDORA