CVE-2026-126708: Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password
In Eclipse Mosquitto versions 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2, the return value of password hash functions for sha512-pbkdf2 and legacy sha512 were not checked. Starting with OpenSSL 4.0, sha512-pbkdf2 hashing will fail when using the FIPS provider for passwords shorter than 8 characters. This has the effect that newly created passwords would match against any other password with fewer than 8 characters.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this authentication bypass?
Affected deployments use Eclipse Mosquitto 2.0.0 through 2.0.22 or 2.1.0 through 2.1.2, use sha512-pbkdf2 or legacy sha512 password hashing, and run with OpenSSL 4.0 using the FIPS provider. The described sha512-pbkdf2 failure applies to passwords shorter than 8 characters.
What does an attacker need to do to authenticate as an affected account?
For a newly created affected password, any password shorter than 8 characters can match it. This condition results from the password-hash operation failing and its return value not being checked.