CVE-2019-17211Mbed
Critical 9.8 No auth needed
Follow: this CVE · Mbed · Mbed We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Nov 5, 2019
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An integer overflow was discovered in the CoAP library in Arm Mbed OS 5.14.0. The function sn_coap_builder_calc_needed_packet_data_size_2() is used to calculate the required memory for the CoAP message from the sn_coap_hdr_s data structure. Both returned_byte_count and src_coap_msg_ptr->payload_len are of type uint16_t. When added together, the result returned_byte_count can wrap around the maximum uint16_t value. As a result, insufficient buffer space is allocated for the corresponding CoAP message.
What to do
- Apply the vendor's security update for Mbed.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mbed | mbed | 5.13.2 |
| mbed | mbed | 5.14.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory