CVE-2026-126708: Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password

Published Nov 17, 2026
·
Updated

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

1 affected component
Eclipse Mosquitto>=2.0.0<=2.0.22, >=2.1.0<=2.1.2

Event History

Nov 18, 2026
CVE Published
via MITRE·09:59 AM
Data Sourced
via MITRE·09:59 AM
DescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionWeakness

Frequently Asked Questions

1

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.

2

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203