BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-12885 in Arm Mbed Os

High 7.5

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 mem...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.2%
EPSS percentile69th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Arm Mbed Os 5.15.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-12885
BreachSpider IDBS-2020-GLOBAL-144792-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2020-06-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-835: CWE-835

Analysis AI-written, not human-reviewed

An infinite loop vulnerability exists in the CoAP library of Arm Mbed OS 5.15.3, affecting the CoAP parser's handling of received CoAP packets.

The vulnerability arises from the sn_coap_parser_options_parse_multiple_options() function, where the exit condition of a while loop is incorrectly computed using previously allocated heap memory, potentially leading to an infinite loop.

Questions

What is CVE-2020-12885?

An infinite loop vulnerability exists in the CoAP library of Arm Mbed OS 5.15.3, affecting the CoAP parser's handling of received CoAP packets.

What is the CVSS score for CVE-2020-12885?

CVE-2020-12885 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.2%.

Is CVE-2020-12885 actively exploited?

No confirmed active exploitation of CVE-2020-12885 as of 2026-09-25.

How do I remediate CVE-2020-12885?

Priority: HIGH.

What systems are affected by CVE-2020-12885?

CVE-2020-12885 affects Arm Mbed Os.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Arm","product":"Mbed Os","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.