Critical
Security advisory
Insufficient type checks were employed prior to casting input data in SimpleXMLElement_exportNode and simplexml_import_dom. This issue affects HHVM versions prior to 3.9.5, all versions between 3.10.0 and 3.12.3 (inclusive), and all versions between 3.13.0 and 3.14.1 (inclusive).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-1000004
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:09 UTC · Revision 1
Source evidence
Insufficient type checks were employed prior to casting input data in SimpleXMLElement_exportNode and simplexml_import_dom. This issue affects HHVM versions prior to 3.9.5, all versions between 3.10.0 and 3.12.3 (inclusive), and all versions between 3.13.0 and 3.14.1 (inclusive).
osv:CVE-2016-1000004
Complete source record
{
"id": "df334f34c55c5eddd5c96d5185d8d22b25b37246be17dd2489392010e2363809",
"url": "https://osv.dev/vulnerability/CVE-2016-1000004",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-1000004",
"summary": "Insufficient type checks were employed prior to casting input data in SimpleXMLElement_exportNode and simplexml_import_dom. This issue affects HHVM versions prior to 3.9.5, all versions between 3.10.0 and 3.12.3 (inclusive), and all versions between 3.13.0 and 3.14.1 (inclusive).",
"evidence": "osv:CVE-2016-1000004",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2016-1000004",
"aliases": [
"CVE-2016-1000004"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/facebook/hhvm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "03ebc848ba9bdf96204bbbaeb7b87f85c8dee79f"
},
{
"introduced": "ef7496ae03728143cce4d620ef8ce10db1128d6c"
},
{
"last_affected": "2b2ae0076c30ad9e07a0f37bf86798c530756515"
},
{
"introduced": "5b0e52b83f1dc0aa0c1dfe3a5687995c9693f5a6"
},
{
"last_affected": "d99b370804b7e0234ab794869d1ba1774c848e85"
},
{
"fixed": "8e7266fef1f329b805b37f32c9ad0090215ab269"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.9.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.10.0"
},
{
"last_affected": "3.12.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.13.0"
},
{
"last_affected": "3.14.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8e7266fef1f329b805b37f32c9ad0090215ab269"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"HHVM-3.9.4",
"HHVM-3.12.3",
"HHVM-3.14.1",
"HHVM-3.14.0",
"HHVM-3.9.3",
"HHVM-3.12.2",
"HHVM-3.9.2",
"HHVM-3.12.1",
"HHVM-3.12.0",
"HHVM-3.9.1",
"HHVM-3.9.0",
"gcc-4.6",
"HPHP-2.1.0",
"src-hphp",
"pre-hhvm"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-1000004.json",
"vanir_signatures": [
{
"id": "CVE-2016-1000004-7e68cc5a",
"digest": {
"length": 208,
"function_hash": "284111172822097489879350956689906283064"
},
"source": "https://github.com/facebook/hhvm/commit/8e7266fef1f329b805b37f32c9ad0090215ab269",
"target": {
"file": "hphp/runtime/ext/simplexml/ext_simplexml.cpp",
"function": "SimpleXMLElement_exportNode"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2016-1000004-d2f0dcbc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"55765914228621558646643659540904023927",
"243835335827319018911730436790814189705",
"79200780020579073968261204415201624069",
"278751480322904910959016944884515555258",
"198200089604599280099251079262852164476",
"68225021353284281926992865200273145178",
"40146257546414192642961160745671104275",
"87266853421619007164937883201537336780",
"211421453706724789124054905841163514856",
"152257111440568270577492985775885413759"
]
},
"source": "https://github.com/facebook/hhvm/commit/8e7266fef1f329b805b37f32c9ad0090215ab269",
"target": {
"file": "hphp/runtime/ext/simplexml/ext_simplexml.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2016-1000004-e0136018",
"digest": {
"length": 831,
"function_hash": "96267759177677574329934507567798237337"
},
"source": "https://github.com/facebook/hhvm/commit/8e7266fef1f329b805b37f32c9ad0090215ab269",
"target": {
"file": "hphp/runtime/ext/simplexml/ext_simplexml.cpp",
"function": "HHVM_FUNCTION"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:13:31Z"
}
}
],
"modified": "2026-10-20T13:13:31.067254603Z",
"provider": "osv",
"references": [
"https://www.facebook.com/security/advisories/cve-2016-1000004",
"https://github.com/facebook/hhvm/commit/8e7266fef1f329b805b37f32c9ad0090215ab269"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-1000004",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387335,
"published_at": "2020-02-19T13:15:10.76+00:00"
}