llamaCVEVulnerability Intelligence
/
Contiki-NG

CVE-2026-5855

Contiki-NG LwM2M TLV Parser Out-of-Bounds Read via Unchecked Buffer Length in lwm2m_tlv_read

UnclearSin parche publicadoout-of-bounds read
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición104 dDesde la divulgación, 6 ago 2026, 1:39 p. m.
Detección88 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
6 ago 26
7 ago 26
3 nov 26
8 nov 26
16 nov 26
19 nov 26
6 ago 26
2 sept 26
28 sept 26
24 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-5855 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Contiki-NG's LwM2M TLV parser lwm2m_tlv_read() in os/services/lwm2m/lwm2m-tlv.c ignores its caller-supplied buffer length argument and reads up to six bytes from the input buffer with no bounds check. The caller in lwm2m-engine.c iterates while there is at least one byte remaining, so a crafted CoAP WRITE to any LwM2M endpoint whose final TLV supplies exactly one byte triggers up to five out-of-bounds reads of heap memory adjacent to the CoAP input buffer, disclosing memory contents (including key material and peer addresses) through the parsed tlv->id, tlv->length, and tlv->value fields. Corrupted tlv_len derived from the out-of-bounds memory further corrupts the caller's parse offset. In LwM2M NoSec mode, the default for constrained devices, no authentication is required.

¿Qué significa?The LwM2M TLV parser in Contiki-NG, in the function lwm2m_tlv_read, does not check the buffer length it is given. When a truncated or malformed TLV is parsed, such as the last TLV in a payload with too few bytes left, it can read past the end of the buffer.
¿Quién está afectado?The product listed is Contiki-NG. The problem applies when the parser handles a truncated or malformed TLV, such as the last TLV in a payload with too few bytes left. Check your Contiki-NG version and whether your code uses lwm2m_tlv_read to parse LwM2M TLV payloads. No affected version range is listed in the facts.
¿Qué hacer?No fixed version or upgrade target is listed in the facts. Check the Contiki-NG project's advisory or release notes for a fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A truncated or malformed TLV is parsed, such as the last TLV in a payload with too few bytes left.“A truncated or malformed TLV (e.g. the last TLV in a payload with too few bytes left)”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Contiki-NG
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALVulnCheck
Referencias
Parchehttps://github.com/contiki-ng/contiki-ng/pull/3165
Parchehttps://github.com/contiki-ng/contiki-ng/commit/f1673b5766d4d4d514cefb8a0350f43653574997
Otrahttps://github.com/contiki-ng/contiki-ng

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.