{"exploit":{"id":"EDB-41653","name":"Microsoft Windows - Uniscribe Font Processing Heap Memory Corruption Around 'USP10!BuildFSM' (MS17-011)","description":"Microsoft Windows - Uniscribe Font Processing Heap Memory Corruption Around 'USP10!BuildFSM' (MS17-011)","cves":["CVE-2017-0090"],"author":"Google Security Research","published":"2017-03-20","platform":"windows","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/41653","path":"exploits/windows/dos/41653.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-41653.txt","vulnerabilities":[{"id":"CVE-2017-0090","state":"PUBLISHED","title":null,"titleSource":null,"description":"Uniscribe in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, and Windows 7 SP1 allows remote attackers to execute arbitrary code via a crafted web site, aka \"Uniscribe Remote Code Execution Vulnerability.\" This vulnerability is different from those described in CVE-2017-0072, CVE-2017-0083, CVE-2017-0084, CVE-2017-0086, CVE-2017-0087, CVE-2017-0088, and CVE-2017-0089.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-0090","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-0090"},"updatedAt":"2024-08-05T12:55:18.510Z","retrievedAt":"2026-11-27T13:12:51.233Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-41653.png?v=2","url":"https://exploitbin.com/exploits/EDB-41653","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-41653/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-41653/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=1029\n\nWe have encountered a number of crashes in the Windows Uniscribe user-mode library, while trying to display text using a corrupted font file. While crashes in this specific family take various shapes and forms, they all occur in functions directly or indirectly called by USP10!BuildFSM. An example crash excerpt is shown below:\n\n---\n(5020.4074): Access violation - code c0000005 (first chance)\nFirst chance exceptions are reported before any exception handling.\nThis exception may be expected and handled.\neax=000000cc ebx=0964b270 ecx=0964c6aa edx=0038f409 esi=00000782 edi=0963d7d0\neip=751f968d esp=0038f3bc ebp=0038f468 iopl=0         nv up ei pl nz ac pe nc\ncs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010216\nUSP10!BuildDynamicStatesStaticInputs+0x45d:\n751f968d 668944b302      mov     word ptr [ebx+esi*4+2],ax ds:002b:0964d07a=????\n0:000> kb\nChildEBP RetAddr  Args to Child\n0038f468 751f7a33 00000048 09649700 0000001a USP10!BuildDynamicStatesStaticInputs+0x45d\n0038f6a0 751f7076 095d3d88 095e1fa8 0038f6cc USP10!BuildFSM+0x193\n0038f6b0 751fc5f4 c10125b4 095d3d88 095c6124 USP10!LoadArabicShapeTables+0x106\n0038f6cc 751ea5a0 c10125b4 0963d7d0 0000001a USP10!ArabicLoadTbl+0xd4\n0038f6f0 751ea692 095c6124 c10125b4 0000001a USP10!UpdateCache+0xb0\n0038f704 751f152d c10125b4 095c6000 751f15db USP10!ScriptCheckCache+0x62\n0038f710 751f15db 00000001 00000001 095c62e8 USP10!GetShapeFunction+0xd\n0038f748 751f2b14 00000001 00000000 0038f7c8 USP10!RenderItemNoFallback+0x5b\n0038f774 751f2da2 00000001 00000000 0038f7c8 USP10!RenderItemWithFallback+0x104\n0038f798 751f4339 00000000 0038f7c8 095c6124 USP10!RenderItem+0x22\n0038f7dc 751e7a04 000004a0 00000400 c10125b4 USP10!ScriptStringAnalyzeGlyphs+0x1e9\n0038f7f4 76ca5465 c10125b4 095c6040 0000000a USP10!ScriptStringAnalyse+0x284\n0038f840 76ca5172 c10125b4 0038fc28 0000000a LPK!LpkStringAnalyse+0xe5\n0038f93c 76ca1410 c10125b4 00000000 00000000 LPK!LpkCharsetDraw+0x332\n0038f970 763c18b0 c10125b4 00000000 00000000 LPK!LpkDrawTextEx+0x40\n0038f9b0 763c22bf c10125b4 00000040 00000000 USER32!DT_DrawStr+0x13c\n0038f9fc 763c21f2 c10125b4 0038fc28 0038fc3c USER32!DT_GetLineBreak+0x78\n0038faa8 763c14d4 c10125b4 00000000 0000000a USER32!DrawTextExWorker+0x255\n0038facc 763c2475 c10125b4 0038fc28 ffffffff USER32!DrawTextExW+0x1e\n0038fb00 01196a5c c10125b4 0038fc28 ffffffff USER32!DrawTextW+0x4d\n[...]\n0:000> !heap -p -a ebx\n    address 0964b270 found in\n    _DPH_HEAP_ROOT @ 95c1000\n    in busy allocation (  DPH_HEAP_BLOCK:         UserAddr         UserSize -         VirtAddr         VirtSize)\n                                 95c2ed4:          964b270             1d8c -          964b000             3000\n    5dbb8e89 verifier!AVrfDebugPageHeapAllocate+0x00000229\n    77580f3e ntdll!RtlDebugAllocateHeap+0x00000030\n    7753ab47 ntdll!RtlpAllocateHeap+0x000000c4\n    774e3431 ntdll!RtlAllocateHeap+0x0000023a\n    5fcca792 vrfcore!VfCoreRtlAllocateHeap+0x00000016\n    751f6644 USP10!UspAllocCache+0x00000054\n    751f7975 USP10!BuildFSM+0x000000d5\n    751f7076 USP10!LoadArabicShapeTables+0x00000106\n    751fc5f4 USP10!ArabicLoadTbl+0x000000d4\n    751ea5a0 USP10!UpdateCache+0x000000b0\n    751ea692 USP10!ScriptCheckCache+0x00000062\n    751f152d USP10!GetShapeFunction+0x0000000d\n    751f2b14 USP10!RenderItemWithFallback+0x00000104\n    751f2da2 USP10!RenderItem+0x00000022\n    751f4339 USP10!ScriptStringAnalyzeGlyphs+0x000001e9\n    751e7a04 USP10!ScriptStringAnalyse+0x00000284\n    76ca5465 LPK!LpkStringAnalyse+0x000000e5\n    76ca5172 LPK!LpkCharsetDraw+0x00000332\n    76ca1410 LPK!LpkDrawTextEx+0x00000040\n    763c18b0 USER32!DT_DrawStr+0x0000013c\n    763c22bf USER32!DT_GetLineBreak+0x00000078\n    763c21f2 USER32!DrawTextExWorker+0x00000255\n    763c14d4 USER32!DrawTextExW+0x0000001e\n    763c2475 USER32!DrawTextW+0x0000004d\n[...]\n---\n\nThe issue reproduces on Windows 7. It is easiest to reproduce with PageHeap enabled, but it is also possible to observe a crash in a default system configuration. In order to reproduce the problem with the provided samples, it might be necessary to use a custom program which displays all of the font's glyphs at various point sizes.\n\nAttached is an archive with 2 crashing samples.\n\n\nProof of Concept:\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/41653.zip","sha256":"9942f1b09bddc45e9be8342903b79ff5ac05515bf05df03eb9a83b83e67b8605","bytes":4382,"fetchedAt":"2026-11-27T13:12:50.951Z","encoding":"utf-8 (display only; download retains original bytes)"}