Security Vulnerability Report
中文
CVE-2026-6861 CVSS 6.1 MEDIUM

CVE-2026-6861

Published: 2026-04-22 14:17:08
Last Modified: 2026-05-06 20:27:37

Description

A flaw was found in GNU Emacs. This vulnerability, a memory corruption issue, occurs when Emacs processes specially crafted SVG (Scalable Vector Graphics) CSS (Cascading Style Sheets) data. A local user could exploit this by convincing a victim to open a malicious SVG file, which may lead to a denial of service (DoS) or potentially information disclosure.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Configurations (Affected Products)

cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* - VULNERABLE
GNU Emacs (具体受影响版本未在源数据中明确列出)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-6861: Malicious SVG causing memory corruption in GNU Emacs --> <svg xmlns="http://www.w3.org/2000/svg"> <style> /* Malicious CSS payload intended to trigger memory corruption */ /* Specific payload depends on the exact parsing flaw */ .malicious-class { fill: red; /* Insert crafted CSS properties here to trigger the bug */ } </style> <rect width="100" height="100" class="malicious-class" /> </svg>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6861", "sourceIdentifier": "[email protected]", "published": "2026-04-22T14:17:07.860", "lastModified": "2026-05-06T20:27:36.917", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in GNU Emacs. This vulnerability, a memory corruption issue, occurs when Emacs processes specially crafted SVG (Scalable Vector Graphics) CSS (Cascading Style Sheets) data. A local user could exploit this by convincing a victim to open a malicious SVG file, which may lead to a denial of service (DoS) or potentially information disclosure."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 4.2}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-193"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*", "versionStartIncluding": "28.1", "versionEndIncluding": "30.2", "matchCriteriaId": "74B89DDC-2ECF-4718-9FF6-81BC5896FE43"}]}]}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2026-6861", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2459992", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}]}}