CVE-2019-17211

Summary

CVECVE-2019-17211
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-11-05 16:15:00 UTC
Updated2019-11-13 15:25:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Mbed Mbed 5.13.2 All All All
Operating System Mbed Mbed 5.14.0 All All All
Operating System Mbed Mbed 5.13.2 All All All
Operating System Mbed Mbed 5.14.0 All All All

References

ReferenceSourceLinkTags
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
memory access out of range in MbedOS CoAP library builder part · Issue #11804 · ARMmbed/mbed-os · GitHub MISC github.com Exploit, Issue Tracking, Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
mbed-os/sn_coap_builder.c at d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6 · ARMmbed/mbed-os · GitHub MISC github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report