Skip to content

Eclipse Mosquitto

Eclipse Mosquito: Heap Buffer Overflow in my_subscribe_callback

CVE-2024-10525Published 30 Oct 2024, 11:41 UTC

Real-world risk

3.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.2

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from eclipse)

In Eclipse Mosquitto, from version 1.3.2 through 2.0.18, if a malicious broker sends a crafted SUBACK packet with no reason codes, a client using libmosquitto may make out of bounds memory access when acting in its on_subscribe callback. This affects the mosquitto_sub and mosquitto_rr clients.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Eclipse MosquittoNiche>= 1.3.2, <= 2.0.18—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T2: Likely to be exploited (× 0.90)

EPSS probability at least 0.10, or EPSS percentile at least 0.95

EPSS 59.2% chance of exploitation in 30 days (percentile 99), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T2: Likely to be exploited0.900
  3. 10 × impact 0.7 × prerequisites 0.6 × threat 0.93.780
  4. Rounded to one decimal between 0.1 and 103.8

How the score works

Exploitation and evidence timeline

  1. 30 Oct 2024 Published
  2. 3 Dec 2026 Risk 3.8 (cvss fallback)

Weakness

CWE-122

References

Get alerts for Eclipse Mosquitto

Free email or text alerts when a vulnerability in Eclipse Mosquitto reaches risk 8 or higher. Nothing else.