mongoose: heap-based buffer over-read in a parse_mqtt getu16 call
Published Oct 28, 2018
9.1
CRITICALCVSS 3.0
EPSS 1.84%
Description
An exploitable arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality of Cesanta Mongoose 6.13. It is a heap-based buffer over-read in a parse_mqtt getu16 call. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
AV:N/AC:L/Au:N/C:P/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.84% (0.01835) | 78.15th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.84% (0.01835) | 76.08th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.14% (0.00138) | 49.83th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.14% (0.00138) | 48.70th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.12% (0.00123) | 45.48th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.23% (0.00234) | 59.69th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00777) | 21.50th | v1 |
| Jan 6, 2022 | 0.78% (0.00777) | 20.90th | v1 |
| Sep 1, 2021 | 0.78% (0.00777) | 50.67th | v1 |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-18764 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1646631 Issue Tracking
- https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow1.md x_refsource_MISCExploitThird Party Advisory
- https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow2.md x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18764
- https://www.cve.org/CVERecord?id=CVE-2018-18764
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-18764 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1646631 | Issue Tracking | |
| https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow1.md | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow2.md | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-18764 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-18764 |
Change history (0)
No recorded changes yet.