CVE-2026-126708 PUBLISHED

Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password

Assigner: eclipse
Reserved: 11.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Product Status

Vendor Eclipse Foundation
Product Eclipse Mosquitto
Versions Default: unaffected
  • affected from 2.0.0 to 2.0.22 (incl.)
  • affected from 2.1.0 to 2.1.2 (incl.)

Credits

  • Will Cooke, Chainguard finder

References

Problem Types

  • CWE-252 Unchecked Return Value CWE