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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libspf2 | 1.2.11 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspf2 | 1.2.10-7.1 | — |
| Debian 13 | libspf2 | 1.2.10-7.1 | — |
| Debian 12 | libspf2 | 1.2.10-7.1 | — |
| Debian 10 | libspf2 | 1.2.10-7.1~deb10u1 | DSA-4955-1 |
| Debian 9 | libspf2 | 1.2.10-7+deb9u1 | DLA-2739-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libspf2 | 1.2.10-7+deb9u2build0.20.04.1 | USN-6584-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libspf2 | 1.2.10-7ubuntu0.18.04.1~esm1 | USN-6584-1 |
| Ubuntu Pro 16.04 LTS | libspf2 | 1.2.10-6ubuntu0.1~esm1 | USN-6584-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP3 | libspf2 | 1.2.10-bp153.5.1 | openSUSE-SU-2021:1187-1 |
| SUSE Package Hub 15 SP2 | libspf2 | 1.2.10-bp153.5.1 | openSUSE-SU-2021:1187-1 |
| SUSE Package Hub 15 SP1 | libspf2 | 1.2.10-bp153.5.1 | openSUSE-SU-2021:1187-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libspf2 | 0.01-5.3 | openSUSE-SU-2024:10995-1 |
| openSUSE Leap 15.3 | libspf2 | 1.2.10-bp153.5.1 | openSUSE-SU-2021:1187-1 |
| openSUSE Leap 15.2 | libspf2 | 1.2.10-bp153.5.1 | openSUSE-SU-2021:1187-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.23 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.22 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.21 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.20 | libspf2 | 1.2.10-r5 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.18 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.17 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.16 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.15 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.14 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.13 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.12 | libspf2 | 1.2.10-r5 | — |
| Alpine v3.11 | libspf2 | 1.2.10-r5 | — |
Advisories 5
- USN-6584-1 libspf2 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-4955-1 libspf2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2739-1 libspf2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10995-1 libspf2-2-1.2.10-5.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1187-1 Security update for libspf2 SUSE / openSUSE Security Updates · May 7, 2025
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1993070
- FEDORA-2021-aa8637c985 vendor-advisory
- FEDORA-2021-994751581f vendor-advisory
- FEDORA-2021-044be3d54e vendor-advisory
- https://security.gentoo.org/glsa/202401-22