CVE-2025-65503

7.5

Redboltz · async_mqtt

A use after free vulnerability exists in Redboltz async_mqtt 10.2.5 due to improper object destruction order during SSL initialization failure, leading to potential denial of service.

Executive summary

A use after free vulnerability in Redboltz async_mqtt 10.2.5 poses a denial of service risk to systems utilizing the library for MQTT communications.

Vulnerability

The vulnerability is a use after free flaw occurring in endpoint destructors. It is triggered by an SSL initialization failure, which causes an incorrect destruction order between io_context and endpoint objects, and it is accessible to unauthenticated local users.

Business impact

Successful exploitation of this vulnerability allows an attacker to cause a denial of service on the affected application. With a CVSS score of 7.5, this high severity flaw could lead to significant operational disruption if the MQTT service is critical to business processes or industrial control communications.

Remediation

Immediate Action: Upgrade to a patched version of async_mqtt as provided by the vendor in the referenced pull request (https://github.com/redboltz/async_mqtt/pull/437).

Proactive Monitoring: Monitor system logs for unexpected service crashes or errors related to SSL initialization and MQTT endpoint management.

Compensating Controls: Ensure that systems running the library are protected by restricting local user access and implementing resource limits to contain the impact of potential service crashes.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The high CVSS score reflects the ease of triggering this denial of service condition. Organizations should prioritize updating the async_mqtt library to the version containing the fix to ensure stability and prevent unauthorized service termination.

History

  1. Disclosed CVE record published
  2. Published in the daily brief high section
  3. Published in the daily brief high section
  4. Analyst report written

Sources