# CVE-2020-12885

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-06-18 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2020-12885 · JSON: https://cvemate.com/vulnerability/CVE-2020-12885/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:C
- EPSS: 1.235%, percentile 70.036%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- arm mbed\_os: 5.15.3

## References

- <https://github.com/ARMmbed/mbed-os/issues/12929>
- <https://github.com/ARMmbed/mbed-coap/pull/116>

---

Data as of 2026-12-05T06:21:52.668Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
