Critical
Security advisory
In XS 9.0.0 in Moddable SDK OS180329, there is a heap-based buffer overflow in fxBeginHost in xsAPI.c when called from fxRunDefine in xsRun.c, as demonstrated by crafted JavaScript code to xst.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-16366
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:46 UTC · Revision 1
Source evidence
In XS 9.0.0 in Moddable SDK OS180329, there is a heap-based buffer overflow in fxBeginHost in xsAPI.c when called from fxRunDefine in xsRun.c, as demonstrated by crafted JavaScript code to xst.
osv:CVE-2019-16366
Complete source record
{
"id": "42383d2b7d56f9a989d511be59d006cb632867aa0bd7ea5910e2ccb5e910c36d",
"url": "https://osv.dev/vulnerability/CVE-2019-16366",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-16366",
"summary": "In XS 9.0.0 in Moddable SDK OS180329, there is a heap-based buffer overflow in fxBeginHost in xsAPI.c when called from fxRunDefine in xsRun.c, as demonstrated by crafted JavaScript code to xst.",
"evidence": "osv:CVE-2019-16366",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-16366",
"aliases": [
"CVE-2019-16366"
],
"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/moddable-opensource/moddable",
"type": "GIT",
"events": [
{
"introduced": "c87b3326497f4bbdab7c3e3d8a2c9fd8d1fc0805"
},
{
"last_affected": "b1f42a2e148f0fc2cd91d7ed1cee56bd361656b2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:moddable:moddable:os180329:*:*:*:*:*:*:*",
"range": [
{
"introduced": "os180329"
},
{
"last_affected": "os180329"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:moddable:xs:9.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.0.0"
},
{
"last_affected": "9.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"9.0.0",
"os180329"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16366.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/moddable-opensource/moddable-xst",
"type": "GIT",
"events": [
{
"introduced": "7d5aa5fa89e5b7f9f57acba929a392e135c2ac74"
},
{
"last_affected": "7d5aa5fa89e5b7f9f57acba929a392e135c2ac74"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:moddable:xs:9.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.0.0"
},
{
"last_affected": "9.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"9.0.0",
"v9.0.3",
"v9.0.2",
"v9.0.1",
"v9.0.0",
"v8.8.0",
"v8.7.0",
"v8.6.2",
"v8.6.1",
"v8.6.0",
"v8.4.1",
"v8.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16366.json"
}
}
],
"modified": "2026-10-24T10:50:05.777663695Z",
"provider": "osv",
"references": [
"https://github.com/Moddable-OpenSource/moddable/issues/235"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-16366",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441952,
"published_at": "2019-09-16T17:15:14.293+00:00"
}