Description
Authen::SASL::Perl::DIGEST_MD5 versions before 2.2100 for Perl accept replayed authentication responses via unverified nonce in server_step.
server_start generates a fresh nonce and sends it in the challenge, and nothing later compares that value against the nonce the client returns. server_step derives the expected digest from the client's own parameters, so a response verifies whenever its digest matches the nonce it carries. The count table it also checks is keyed on the client-supplied nonce and starts empty in each new server object, so a captured first response, carrying `nc=00000001`, passes that too. RFC 2831 defines the nonce in the response as the value the server sent in the preceding challenge.
An attacker who observes one successful `qop=auth` exchange can replay the captured response against a later session for the same service, host, realm and user, and authenticate as that user without knowing the password.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Authen-SASL | < 2.2100 | 2.2100 |
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 | libauthen-sasl-perl | 2.2000-2 | — |
| Debian 13 | libauthen-sasl-perl | No fix yet | — |
| Debian 12 | libauthen-sasl-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libauthen-sasl-perl | 2.2000-1ubuntu1 | — |
| Ubuntu 26.04 LTS | libauthen-sasl-perl | 2.2000-1ubuntu0.1 | USN-8858-1 |
| Ubuntu 24.04 LTS | libauthen-sasl-perl | 2.1700-1ubuntu0.1 | USN-8858-1 |
| Ubuntu 22.04 LTS | libauthen-sasl-perl | 2.1600-1.1ubuntu0.1 | USN-8858-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libauthen-sasl-perl | 2.1600-1ubuntu0.20.04.1~esm1 | USN-8858-1 |
| Ubuntu Pro 18.04 LTS | libauthen-sasl-perl | 2.1600-1ubuntu0.18.04.1~esm1 | USN-8858-1 |
| Ubuntu Pro 16.04 LTS | libauthen-sasl-perl | 2.1600-1ubuntu0.16.04.1~esm1 | USN-8858-1 |
| Ubuntu Pro 14.04 LTS | libauthen-sasl-perl | 2.1500-1ubuntu0.1~esm1 | USN-8858-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES 15 SP6 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES 15 SP5 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES 15 SP4 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES 12 SP5 | perl-Authen-SASL | 2.16-5.6.1 | SUSE-SU-2026:4280-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | perl-Authen-SASL | 2.170.0-160000.4.1 | SUSE-SU-2026:23913-1 |
| SLES for SAP 15 SP6 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES for SAP 15 SP5 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES for SAP 15 SP4 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLES 16.0 | perl-Authen-SASL | 2.170.0-160000.4.1 | SUSE-SU-2026:23913-1 |
| SLE HPC 15 SP5 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
| SLE HPC 15 SP4 | perl-Authen-SASL | 2.16-150000.1.9.1 | SUSE-SU-2026:4302-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Authen-SASL | 2.210.0-1.1 | openSUSE-SU-2026:11734-1 |
| openSUSE Leap 16.0 | perl-Authen-SASL | 2.170.0-160000.4.1 | openSUSE-SU-2026:21946-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-Authen-SASL | 2.16-23.amzn2023.0.4 | ALAS2023-2026-3090 |
| Amazon Linux 2 | perl-Authen-SASL | 2.15-10.amzn2.0.2 | ALAS2-2026-3923 |
Advisories 10
- WID-SEC-2026-4090 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- NCSC-2026-0444 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Oct 21, 2026
- USN-8858-1 libauthen-sasl-perl vulnerability Ubuntu Security Notices (USN) · Oct 1, 2026
- SUSE-SU-2026:23913-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Sep 30, 2026
- ALAS2023-2026-3090 Important: perl-Authen-SASL security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- ALAS2-2026-3923 Important: perl-Authen-SASL security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- openSUSE-SU-2026:21946-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4302-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Sep 23, 2026
- SUSE-SU-2026:4280-1 Security update for perl-Authen-SASL SUSE / openSUSE Security Updates · Sep 23, 2026
- openSUSE-SU-2026:11734-1 perl-Authen-SASL-2.210.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 10, 2026
References
- https://metacpan.org/release/EHUELS/Authen-SASL-2.2000/source/lib/Authen/SASL/Perl/DIGEST_MD5.pm#L203-222
- https://metacpan.org/release/EHUELS/Authen-SASL-2.2000/source/lib/Authen/SASL/Perl/DIGEST_MD5.pm#L410-414
- https://datatracker.ietf.org/doc/html/rfc2831#section-2.1.2
- https://github.com/perl-authen-sasl/perl-authen-sasl/commit/94337367030612842924f697cead29964a96448d.patch patch
- https://metacpan.org/release/EHUELS/Authen-SASL-2.2100/changes release-notes
- https://www.cve.org/CVERecord?id=CVE-2025-40918 related