diff mbox series

[scarthgap] libinput: ignore CVE-2026-35093 and CVE-2026-35094

Message ID 20261204082831.1387548-1-UpStream_IP-JJ@bmwtechworks.in
State New
Headers show
Series [scarthgap] libinput: ignore CVE-2026-35093 and CVE-2026-35094 | expand

Commit Message

Jackson James Dec. 4, 2026, 8:28 a.m. UTC
From: Jackson James <Jackson.James@bmwtechworks.in>

Analysis:
- Both CVEs affect the libinput Lua plugin code. The vulnerable code
  was introduced in libinput 1.30.0 and is present only in 1.30.0 to
  1.30.2 and 1.31.0. [1]
- The recipe is at version 1.25.0, which does not contain the
  vulnerable code, so it is not affected.
- NVD lists CVE-2026-35093 as affecting libinput up to (excluding)
  1.30.3, and CVE-2026-35094 without any version range. Both wrongly
  match 1.25.0, which does not contain the vulnerable code.
- NVD has been notified by email (nvd@nist.gov, cpe_dictionary@nist.gov)
  to correct the affected version ranges.
- Hence ignore these CVEs for libinput using cpe-incorrect.

Reference:
[1] https://lore.freedesktop.org/wayland-devel/ac3BvFsDqg9DGmS5@quokka/
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-35093
[3] https://nvd.nist.gov/vuln/detail/CVE-2026-35094

Signed-off-by: Jackson James <Jackson.James@bmwtechworks.in>
---
 meta/recipes-graphics/wayland/libinput_1.25.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/wayland/libinput_1.25.0.bb b/meta/recipes-graphics/wayland/libinput_1.25.0.bb
index 1a33d16f3a..348a8a6852 100644
--- a/meta/recipes-graphics/wayland/libinput_1.25.0.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.25.0.bb
@@ -24,6 +24,10 @@  UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 inherit meson pkgconfig lib_package ptest
 
+# https://lore.freedesktop.org/wayland-devel/ac3BvFsDqg9DGmS5@quokka/
+CVE_STATUS[CVE-2026-35093] = "cpe-incorrect: Vulnerable code was introduced in libinput 1.30.0 and is not present in 1.25.0"
+CVE_STATUS[CVE-2026-35094] = "cpe-incorrect: Vulnerable code was introduced in libinput 1.30.0 and is not present in 1.25.0"
+
 # Patch out build directory, otherwise it leaks into ptest binary
 do_configure:append() {
     sed -i -e "s,${WORKDIR},,g" config.h