Description
ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 contains a null pointer dereference vulnerability in the coap_server_handle_session() function when processing COAP messages containing URI_PATH options with NULL data pointers. When the server searches for a URI_PATH option matching the string "separate", it directly calls strncmp() on option_list[i].data without checking if the pointer is NULL. This causes a segmentation fault when the option's data field is NULL.
Published: 2026-08-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The ccoap library contains a null pointer dereference in the coap_server_handle_session() function. When the server processes a URI_PATH option whose data pointer is NULL, it directly calls strncmp() without checking for NULL. This causes a segmentation fault, crashing the server process. The failure mode is a denial of service; no code execution or data disclosure is indicated.

Affected Systems

This issue occurs in the ccoap CoAP server as found in the 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 revision. The CVE does not list specific vendor or product versions, so any deployment of this ccoap code that includes the offending revision is affected.

Risk and Exploitability

The vulnerability can be triggered remotely by sending a crafted CoAP request that includes a URI_PATH option with a NULL data pointer. Although the exploit leads only to a crash, it can be repeated to cause persistent denial of service. EPSS data is not available and the vulnerability is not listed in CISA's KEV catalog, indicating a limited but still real risk to exposed servers.

Generated by OpenCVE AI on August 27, 2026 at 17:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated version of ccoap that contains a check for a NULL data pointer before calling strncmp.
  • Implement input validation to ensure all URI_PATH options contain non‑NULL data before processing.
  • Restrict the CoAP server's exposure to trusted networks or filter malformed CoAP packets at the network perimeter.

Generated by OpenCVE AI on August 27, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Title Null Pointer Dereference Leading to Segmentation Fault in ccoap CoAP Server
Weaknesses CWE-476

Thu, 27 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 contains a null pointer dereference vulnerability in the coap_server_handle_session() function when processing COAP messages containing URI_PATH options with NULL data pointers. When the server searches for a URI_PATH option matching the string "separate", it directly calls strncmp() on option_list[i].data without checking if the pointer is NULL. This causes a segmentation fault when the option's data field is NULL.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-27T13:46:37.416Z

Reserved: 2026-02-16T00:00:00.000Z

Link: CVE-2026-26453

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T17:17:48.033

Modified: 2026-08-27T17:17:48.033

Link: CVE-2026-26453

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T17:30:12Z

Weaknesses