CVE-2026-145574

medium

Description

Maddy 0.5.0 before 0.9.7 contains a timing discrepancy in the auth.ldap AuthPlain search mode that allows unauthenticated attackers to enumerate LDAP usernames. Attackers can send SMTP or IMAP AUTH PLAIN attempts and measure the extra LDAP bind latency to identify valid usernames for targeted password guessing.

References

https://www.vulncheck.com/advisories/maddy-0.5.0-before-0.9.7-ldap-username-enumeration-via-authplain-timing

https://github.com/foxcpp/maddy/security/advisories/GHSA-88mq-x5xv-cmrh

https://github.com/foxcpp/maddy/releases/tag/v0.9.7

https://github.com/foxcpp/maddy/commit/74feda19646b9d2af3429715265425777e6c2577

https://github.com/foxcpp/maddy/blob/v0.9.6/internal/auth/ldap/ldap.go#L271-L278

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-145704

Details

Source: Mitre, NVD

Published: 2026-12-05

Updated: 2026-12-05

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Severity: Medium

CVSS v4

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Severity: Medium