Skip to content
Emerging threatsCritical

CVE-2008-5416SQL Server Memory Corruption

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…

Published Dec 10, 2008 · Updated Apr 22, 2026

Key Facts

Patch immediately
  • CVE-2008-5416 is a critical-severity vulnerability (CVSS 9.0 v2) affecting SQL Server (Microsoft).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 87% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

9.0

AV:N/AC:L/Au:S/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

87%

Higher than 99.7% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

69/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

4

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

Advisories And Exploit References

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."

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
SQL ServerMicrosoft2000, 2005n/a

Timeline

  1. Publicly disclosed

    Dec 10, 2008

  2. Last updated

    Apr 22, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2008-5416 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.