Home / Microsoft / Sql Server / CVE-2008-5416
CVE-2008-5416: is it exploited, and which versions of Microsoft Sql Server are affected and fixed?
CVE-2008-5416 is a memory corruption (buffer overflow) vulnerability in Microsoft Sql Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: sql server 2000 and sql server 2005 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (9.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-5416?
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."
From the CVE record by mitre, last updated August 7, 2024, 10:56 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | sql server | 2000 | application |
| microsoft | sql server | 2005 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:59 UTC.
How severe is CVE-2008-5416?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 9.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-5416 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 87.0% probability of exploitation activity in the next 30 days, percentile 99.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- http://www.sec-consult.com/files/20081209_mssql-2000-sp_replwritetovarbin_memwrite.txt x_refsource_MISC
- ADV-2008-3380 vdb-entry, x_refsource_VUPEN
- 33034 third-party-advisory, x_refsource_SECUNIA
- 50917 vdb-entry, x_refsource_OSVDB
- 1021363 vdb-entry, x_refsource_SECTRACK
- 7501 exploit, x_refsource_EXPLOIT-DB
- 1021490 vdb-entry, x_refsource_SECTRACK
- mssql-spreplwritetovarbin-bo(47182) vdb-entry, x_refsource_XF
- VU#696644 third-party-advisory, x_refsource_CERT-VN
- 20081209 SEC Consult SA-20081109-0 :: Microsoft SQL Server 2000 sp_replwritetovarbin limited memory overwrite vulnerability mailing-list, x_refsource_BUGTRAQ
- 20081210 Microsoft SQL Server 2005 sp_replwritetovarbin memory overwrite(update to SEC Consult SA-20081209) mailing-list, x_refsource_BUGTRAQ
- MS09-004 vendor-advisory, x_refsource_MS
- 4706 third-party-advisory, x_refsource_SREASON
- http://www.vmware.com/support/vsphere4/doc/vsp_vc41_u1_rel_notes.html x_refsource_CONFIRM
- http://www.microsoft.com/technet/security/advisory/961040.mspx x_refsource_CONFIRM
- 32710 vdb-entry, x_refsource_BID
- oval:org.mitre.oval:def:6217 vdb-entry, signature, x_refsource_OVAL
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html x_refsource_CONFIRM
- TA09-041A third-party-advisory, x_refsource_CERT
- 20081210 Microsoft SQL Server 2005 sp_replwritetovarbin memory overwrite (update to SEC Consult SA-20081209) mailing-list, x_refsource_FULLDISC
- 20110211 VMSA-2011-0003 Third party component updates for VMware vCenter Server, vCenter Update Manager, ESXi and ESX mailing-list, x_refsource_BUGTRAQ
- http://support.avaya.com/elmodocs2/security/ASA-2009-055.htm x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 10, 2008
- Published
- December 10, 2008, 13:33 UTC
- CVE record updated
- August 7, 2024, 10:56 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:59 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Sql Server?
- Aug 15, 2012CVE-2012-1856 Microsoft Commerce Server: n/a exploited
- Aug 8, 2017CVE-2017-8516 Microsoft Corporation SQL Server: information disclosure
- Nov 10, 2016CVE-2016-7254 Microsoft Sql Server: n/a
- Nov 10, 2016CVE-2016-7253 Microsoft Sql Server: n/a
- Nov 10, 2016CVE-2016-7252 Microsoft Sql Server: information disclosure
- Nov 10, 2016CVE-2016-7251 Microsoft Sql Server: cross-site scripting (XSS)
- Nov 10, 2016CVE-2016-7250 Microsoft Sql Server: n/a
- Nov 10, 2016CVE-2016-7249 Microsoft Sql Server: n/a
Questions about CVE-2008-5416
Is CVE-2008-5416 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 87.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Microsoft Sql Server are affected by CVE-2008-5416?
sql server 2000 and sql server 2005, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-5416?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-5416?
High (9.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5416?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.