Description
Cyrus SASL through 2.1.28 contains an authentication bypass vulnerability in the SRP server mechanism because srp_server_mech_step2 does not reject client public values A that are multiples of N. Unauthenticated network clients can send A equal to N to force a zero shared secret, authenticating as any existing user without the password and learning session keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | cyrus-sasl | 0 ≤2.1.28 | — |
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 | cyrus-sasl2 | No fix yet | — |
| Debian 13 | cyrus-sasl2 | No fix yet | — |
| Debian 12 | cyrus-sasl2 | No fix yet | — |
References
- https://github.com/cyrusimap/cyrus-sasl/issues/896
- https://seclists.org/oss-sec/2026/q4/122
- https://gist.github.com/afldl/18d15d3f5a1df99411e35000c7de80db
- https://github.com/cyrusimap/cyrus-sasl/commit/fb3724f43dc50247ff2bf02135457d6d77031654
- https://github.com/cyrusimap/cyrus-sasl/blob/cyrus-sasl-2.1.28/plugins/srp.c#L2046-L2050
- https://www.vulncheck.com/advisories/cyrus-sasl-through-2.1.28-srp-authentication-bypass-via-plugins-srp-c