Read the docs
TI-2020-10248 Aliases CVE-2020-12887GHSA-p665-3xc8-4hrv

Memory leaks were discovered in the CoAP library in Arm Mbed OS 5.15.3 when using the Arm…

Priority LOW 36CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.

Summary

Memory leaks were discovered in the CoAP library in Arm Mbed OS 5.15.3 when using the Arm mbed-coap library 5.1.5. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP option number field of all options present in the input packet. Each option number is calculated as a sum of the previous option number and a delta of the current option. The delta and the previous option number are expressed as unsigned 16-bit integers. Due to lack of overflow detection, it is possible to craft a packet that wraps the option number around and results in the same option number being processed again in a single packet. Certain options allocate memory by calling a memory allocation function. In the cases of COAP_OPTION_URI_QUERY, COAP_OPTION_URI_PATH, COAP_OPTION_LOCATION_QUERY, and COAP_OPTION_ETAG, there is no check on whether memory has already been allocated, which in conjunction with the option number integer overflow may lead to multiple assignments of allocated memory to a single pointer. This has been demonstrated to lead to memory leak by buffer orphaning. As a result, the memory is never freed.

Why it matters now

EPSS 0.01733 77th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:arm:mbed-coap:5.1.5:*:*:*:*:*:*:*5.1.5VulnerableArm
cpe:2.3:o:arm:mbed_os:5.15.3:*:*:*:*:*:*:*5.15.3Running onArm
  • cpe:2.3:a:arm:mbed-coap:5.1.5:*:*:*:*:*:*:* Versions 5.1.5 Vulnerable ·Arm
  • cpe:2.3:o:arm:mbed_os:5.15.3:*:*:*:*:*:*:* Versions 5.15.3 Running on ·Arm

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-12887
  2. 2026-10-03 Alias added: GHSA-p665-3xc8-4hrv

References

Sources