CVE-2020-12885: arm mbed_os Infinite Loop
Vulnerability summary
CVE-2020-12885 is a high (CVSS 7.8) Infinite Loop vulnerability in arm mbed_os. EPSS estimates a 1.23% chance of exploitation in the next 30 days, higher than 68.6% of scored vulnerabilities.
Timeline
- 18-06-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
An infinite loop was discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse_multiple_options() parses CoAP options in a while loop. This loop's exit condition is computed using the previously allocated heap memory required for storing the result of parsing multiple options. If the input heap memory calculation results in zero bytes, the loop exit condition is never met and the loop is not terminated. As a result, the packet parsing function never exits, leading to resource consumption.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
1.23%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
0.00 pp
From 1.23% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Arm1 product
- mbed_os5.15.3
1 vendor · 1 product