CVE-2008-5416: microsoft sql_server
Vulnerability summary
CVE-2008-5416 is a high (CVSS 9.0) vulnerability in microsoft sql_server. EPSS estimates a 87.04% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 7 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Duplicates 1Timeline
- 10-12-2008PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
Heap-based buffer overflow in Microsoft SQL Server 2000 SP4, 8.00.2050, 8.00.2039, and earlier; SQL Server 2000 Desktop Engine (MSDE 2000) SP4; SQL Server 2005 SP2 and 9.00.1399.06; SQL Server 2000 Desktop Engine (WMSDE) on Windows Server 2003 SP1 and SP2; and Windows Internal Database (WYukon) SP2 allows remote authenticated users to cause a denial of service (access violation exception) or execute arbitrary code by calling the sp_replwritetovarbin extended stored procedure with a set of invalid parameters that trigger memory overwrite, aka "SQL Server sp_replwritetovarbin Limited Memory Overwrite Vulnerability."
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
87.04%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 87.04% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
7 foundExploit Reference (sec-consult.com)
Maturity: unknown
Exploit Reference (securityfocus.com)
Maturity: unknown
Microsoft SQL Server - 'sp_replwritetovarbin()' Heap Overflow
Maturity: weaponized
Show all 7 exploits
Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (Metasploit)
Maturity: weaponized
Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (via SQL Injection) (Metasploit)
Maturity: weaponized
MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption
exploit/windows/mssql/ms09_004_sp_replwritetovarbin
Maturity: weaponized
MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption via SQL Injection
exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Microsoft1 product
- sql_server2000 | 2005
1 vendor · 1 product
References
22 links- www.sec-consult.com/files/20081209_mssql-2000-sp_replwritetovarbin_memwrite.txtX Refsource MISCExploit
Show all 22 references
- docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-004Vendor AdvisoryX Refsource MS
- www.vmware.com/support/vsphere4/doc/vsp_vc41_u1_rel_notes.htmlX Refsource CONFIRM
- www.microsoft.com/technet/security/advisory/961040.mspxX Refsource CONFIRM
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6217VDB EntrySignatureX Refsource OVAL
- www.vmware.com/security/advisories/VMSA-2011-0003.htmlX Refsource CONFIRM
- www.us-cert.gov/cas/techalerts/TA09-041A.htmlThird Party AdvisoryX Refsource CERTUS Government Resource
- support.avaya.com/elmodocs2/security/ASA-2009-055.htmX Refsource CONFIRM