Description
Off-by-one buffer overflow in spamc of SpamAssassin 2.40 through 2.43, when using BSMTP mode ("-B"), allows remote attackers to execute arbitrary code via email containing headers with leading "." characters.
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 | spamassassin | 3.1.7-2 | — |
| Debian 13 | spamassassin | 3.1.7-2 | — |
| Debian 12 | spamassassin | 3.1.7-2 | — |
References
- GLSA-200302-01 vendor-advisory
- 6679 vdb-entry
- spamassassin-spamc-offbyone-bo(11154) vdb-entry
- 20030123 SpamAssassin / spamc+BSMTP remote buffer overflow mailing-list
- 20030204 Re: GLSA: Mail-SpamAssasin mailing-list
- 7983 third-party-advisory