CVE-2026-26457
Deferred Deferred - Pending Action

Null Pointer Dereference in ccoap Library

Vulnerability report for CVE-2026-26457, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-27

Last updated on: 2026-09-01

Assigner: MITRE

Description

ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 contains a null pointer dereference vulnerability in the coap_dump_msg() function when processing COAP messages containing options with zero length.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-27
Last Modified
2026-09-01
Generated
2026-09-17
AI Q&A
2026-08-27
EPSS Evaluated
2026-09-15
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ipflavors ccoap *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a null pointer dereference vulnerability in the ccoap library's coap_dump_msg() function. It occurs when processing CoAP messages with zero-length options. If malloc(0) returns NULL, the function fails to check for this and calls memcpy() on a null pointer, causing a crash.

Detection Guidance

Monitor for crashes in applications using the ccoap library when processing CoAP messages with zero-length options. Check logs for segmentation faults in coap_dump_msg() calls. Use network traffic analysis tools like Wireshark to inspect CoAP packets for malformed messages containing zero-length options.

Impact Analysis

This vulnerability can crash applications using the ccoap library when processing malformed CoAP packets with zero-length options. It may lead to denial of service if exploited repeatedly.

Compliance Impact

This vulnerability causes a null pointer dereference leading to a segmentation fault when processing malformed CoAP messages with zero-length options. While it does not directly impact data privacy or security controls, such crashes could disrupt services handling sensitive data, potentially violating availability requirements in GDPR or HIPAA. However, no specific compliance impact is documented in the provided sources.

Mitigation Strategies

Apply patches to the ccoap library that add NULL pointer checks in coap_dump_msg() before memcpy() calls. Update to a fixed version of ccoap if available. Filter or block CoAP messages with zero-length options at the network level until the library is patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-26457. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart