OSV-2025-932 Heap-use-after-free in password_file__cleanup
A heap-use-after-free vulnerability in the Mosquitto MQTT broker allows attackers to cause a denial of service via crafted password file inputs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2025-932?
OSV-2025-932 is an use after free vulnerability in mosquitto, published on 22 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=462551340
Crash type: Heap-use-after-free READ 8
Crash state:
password_file__cleanup
mosquitto_security_cleanup_default
broker_fuzz_password_file.cpp
Which versions are affected by OSV-2025-932?
1 open source package ship an affected version, including mosquitto.
| Package | Affected | Fixed in |
|---|---|---|
mosquitto OSS-Fuzz | All versions | None |
How do I fix OSV-2025-932?
No fix has been published for OSV-2025-932 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2025-932 being exploited?
There is no known exploitation of OSV-2025-932 in the wild and no public exploit code.