{"schemaVersion":3,"id":"CVE-2008-3704","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Heap-based buffer overflow in the MaskedEdit ActiveX control in Msmask32.ocx 6.0.81.69, and possibly other versions before 6.0.84.18, in Microsoft Visual Studio 6.0, Visual Basic 6.0, Visual Studio .NET 2002 SP1 and 2003 SP1, and Visual FoxPro 8.0 SP1 and 9.0 SP1 and SP2 allows remote attackers to execute arbitrary code via a long Mask parameter, related to not \"validating property values with boundary checks,\" as exploited in the wild in August 2008, aka \"Masked Edit Control Memory Corruption Vulnerability.\"","dates":{"published":"2008-08-18T19:00:00.000Z","modified":"2024-08-07T09:45:19.094Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.55917,"percentile":0.9904,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.55917},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.55917,"percentile":0.9904}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.55917,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.55917,"percentile":0.9904}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_336616D8BC0CB297","name":"Exploit Reference (securityfocus.com)","source":"reference","url":"http://www.securityfocus.com/bid/30674","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"6244","name":"Microsoft Visual Studio - 'Msmask32.ocx' ActiveX Remote Buffer Overflow (PoC)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/6244","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"windows","file":"exploits/windows/dos/6244.js","codes":["OSVDB-47475","CVE-2008-3704"]},"metasploit":null},{"id":"6317","name":"Microsoft Visual Studio - 'Msmask32.ocx' ActiveX Remote Buffer Overflow","source":"exploit-database","url":"https://www.exploit-db.com/exploits/6317","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"windows","file":"exploits/windows/remote/6317.html","codes":["CVE-2008-3704","OSVDB-47475"]},"metasploit":null},{"id":"16507","name":"Microsoft Visual Studio - Msmask32.ocx ActiveX Buffer Overflow (MS08-070) (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/16507","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"windows","file":"exploits/windows/remote/16507.rb","codes":["CVE-2008-3704","OSVDB-47475","MS08-070"]},"metasploit":null},{"id":"MSF_EXPLOIT_WINDOWS_BROWSER_MS08_070_VISUAL_STUDIO_MSMASK","name":"Microsoft Visual Studio Mdmask32.ocx ActiveX Stack Buffer Overflow","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/windows/browser/ms08_070_visual_studio_msmask.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/windows/browser/ms08_070_visual_studio_msmask","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":["crash-service-down"],"sideEffects":[],"reliability":["unreliable-session"]}}],"exploitCount":5,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"microsoft","product":"visual_basic","name":"visual basic","label":"visual_basic","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":null,"hubHref":"/vendor/microsoft/visual_basic"},{"vendor":"microsoft","product":"visual_foxpro","name":"visual foxpro","label":"visual_foxpro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0:sp1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:sp1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:sp2","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0:sp1 | 9.0:sp1 | 9.0:sp2","eol":null,"hubHref":"/vendor/microsoft/visual_foxpro"},{"vendor":"microsoft","product":"visual_studio","name":"visual studio","label":"visual_studio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":null,"hubHref":"/vendor/microsoft/visual_studio"},{"vendor":"microsoft","product":"visual_studio_.net","name":"visual studio .net","label":"visual_studio_.net","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2002:sp1","noFixRecorded":false,"fixedIn":null},{"text":"2003:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2002:sp1 | 2003:sp1","eol":null,"hubHref":"/vendor/microsoft/visual_studio_net"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securitytracker.com/id?1020710","label":"www.securitytracker.com/id?1020710","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://www.vupen.com/english/advisories/2008/2380","label":"www.vupen.com/english/advisories/2008/2380","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/3382","label":"www.vupen.com/english/advisories/2008/3382","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"http://secunia.com/advisories/31498","label":"secunia.com/advisories/31498","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5794","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5794","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://www.securityfocus.com/bid/30674","label":"www.securityfocus.com/bid/30674","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Exploit","Patch"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-070","label":"docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-070","hostname":"docs.microsoft.com","tags":["Vendor Advisory","X Refsource MS"]},{"url":"https://www.exploit-db.com/exploits/6244","label":"www.exploit-db.com/exploits/6244","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-473.htm","label":"support.avaya.com/elmodocs2/security/ASA-2008-473.htm","hostname":"support.avaya.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-344A.html","label":"www.us-cert.gov/cas/techalerts/TA08-344A.html","hostname":"www.us-cert.gov","tags":["Third Party Advisory","X Refsource CERT","US Government Resource"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44444","label":"exchange.xforce.ibmcloud.com/vulnerabilities/44444","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"https://www.exploit-db.com/exploits/6317","label":"www.exploit-db.com/exploits/6317","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2008-08-18T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T09:45:19.094Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:53:51.128Z","stale":false,"partial":false}}