CVE-2026-126708

Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password

Published Nov 18, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A missing return value check in the password hashing routines of Eclipse Mosquitto allows any provided password to be accepted when the hash is generated with sha512‑pbkdf2 or legacy sha512 . Because the function fails to verify success, a short password (fewer than eight characters) that results in a failed hash will still pass as valid . This flaw gives an attacker the ability to authenticate as any user without knowing the correct secret.

Affected Systems

Eclipse Mosquitto versions 2.0.0 through 2.0.22 and 2.1.0 through 2.1.2 are affected. Users running these releases on systems that employ OpenSSL 4.0 and its FIPS provider are at particular risk, as the provider causes sha512‑pbkdf2 hashing to fail for short passwords.

Risk and Exploitability

The vulnerability is exploitable over the network via MQTT authentication. An attacker can attempt a short password, causing the hash operation to fail, yet the broker will treat the authentication as successful. This leads to unauthorized access to all resources protected by the broker. The exact CVSS score is not supplied, but the impact is severe due to full authentication bypass. EPSS data is unavailable so expected exploitation probability cannot be quantified, and the flaw is not yet listed in CISA KEV. Nonetheless, any user with a broker accessible from the internet should consider this a critical security issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Eclipse Mosquitto to a version newer than 2.1.2 where the hash return value is verified.
  • If an upgrade is not immediately possible, disable the OpenSSL FIPS provider or ensure your broker never uses it for password hashing.
  • Enforce a minimum password length of eight characters and change all existing passwords to be longer than that threshold.

Generated by OpenCVE AI on November 18, 2026 at 17:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Mosquitto
Vendors & Products Eclipse
Eclipse eclipse Mosquitto
Type Values Removed Values Added
Description 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.
Title Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password
Weaknesses CWE-252
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Nov 18, 2026, 10:10 AM
Reserved
Nov 11, 2026, 4:01 PM
Status
Received
Published
Nov 18, 2026, 10:16 AM
Modified
Nov 18, 2026, 10:16 AM