netfilter: xt_tcpmss: check remaining length before reading optlen (Linux Linux)

CVE-2026-43190
HIGH 8.2

En bref

Source
NVD
EPSS
EPSS 0.46 % · centile 40 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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).

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HLinux
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f895191dc32c53eaf443b6443fe40945b2f92287 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < cd5beda7e0e32865e214f28034bb92c1cecff885 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < eaedc0bc18be46fe7f58170e967959a932c4f824 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 07a9b32eaae792ff7d0fcac14d8920c937c0a9c3 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8b300f726640c48c3edfe9c453334dd801f4b74e ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5e13d0a37666955b6cfddc0f73cb40ed645b8a05
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD