PT-2026-83953 · Unknown · Lwm2M Json Content Formatter

·

CVE-2026-14368

·

Published

2026-08-31

·

Updated

2026-08-31

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Name of the Vulnerable Software and Affected Versions The product name cannot be determined (affected versions not specified)
Description A one-byte out-of-bounds write occurs in the LwM2M JSON content formatter when copying a parsed JSON string into a buffer. The issue exists in the get string() function within subsys/net/lib/lwm2m/lwm2m rw json.c because the length guard allows strings with a length exactly equal to the buffer size. When such a string is processed, the subsequent NUL-termination writes a 0x00 byte immediately past the end of the buffer, potentially corrupting adjacent memory, such as resource values, length fields, or structure fields, which may lead to data corruption or a system crash.
This can be triggered during a LwM2M WRITE operation where do write op json() parses a CoAP payload and get string() is called via lwm2m write handler() (specifically engine get string() in subsys/net/lib/lwm2m/lwm2m message handling.c) for a LWM2M RES TYPE STRING resource. The overflow affects either the resource instance's fixed data buffer res inst->data ptr or the engine validation buffer msg->ctx->validate buf.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-14368
GHSA-VG53-H6QQ-XX7H

Affected Products

Lwm2M Json Content Formatter