CVE-2026-43190
JSON

8.2high

netfilter: xt_tcpmss: check remaining length before reading optlen

Severity
8.2high CVSS:3.1 by Linux
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_tcpmss: check remaining length before reading optlen Quoting reporter: In net/netfilter/xt_tcpmss.c (lines 53-68), the TCP option parser reads op[i+1] directly without validating the remaining option length. If the last byte of the option field is not EOL/NOP (0/1), the code attempts to index op[i+1]. In the case where i + 1 == optlen, this causes an out-of-bounds read, accessing memory past the optlen boundary (either reading beyond the stack buffer _opt or the following payload).

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f895191dc32c53eaf443b6443fe40945b2f92287, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cd5beda7e0e32865e214f28034bb92c1cecff885, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before eaedc0bc18be46fe7f58170e967959a932c4f824, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 07a9b32eaae792ff7d0fcac14d8920c937c0a9c3, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8b300f726640c48c3edfe9c453334dd801f4b74e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5e13d0a37666955b6cfddc0f73cb40ed645b8a05, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f6c412dcfd76b0516d51aa847d8f4c7b70381b09, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 735ee8582da3d239eb0c7a53adca61b79fb228b3 and 1 more
Not affected: before 2.6.12, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.12.1 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6, 2.6.12NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_tcpmss: check remaining length before reading optlen Quoting reporter: In net/netfilter/xt_tcpmss.c (lines 53-68), the TCP option parser reads op[i+1] directly without validating the remaining option length. If the last byte of the option field is not EOL/NOP (0/1), the code attempts to index op[i+1]. In the case where i + 1 == optlen, this causes an out-of-bounds read, accessing memory past the optlen boundary (either reading beyond the stack buffer _opt or the following payload).

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: xt_tcpmss: verificar la longitud restante antes de leer optlen Citando al informante: En net/netfilter/xt_tcpmss.c (líneas 53-68), el analizador de opciones TCP lee op[i+1] directamente sin validar la longitud restante de la opción. Si el último byte del campo de opción no es EOL/NOP (0/1), el código intenta indexar op[i+1]. En el caso donde i + 1 == optlen, esto causa una lectura fuera de límites, accediendo a memoria más allá del límite de optlen (ya sea leyendo más allá del búfer de pila _opt o de la carga útil siguiente).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43190 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-43190 changed 2026-11-11Public domain