SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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…

EXPLOIT ×3 ✓HIGH 9.0EPSS 87.0%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 87.0%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.

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 2.0
9.0 HIGHAV:N/AC:L/Au:S/C:C/I:C/A:C
EPSS
87.04% probability · 100th percentile
Public exploits
3 in Exploit-DB · verified · first 17 December 2008
CISA KEV
Not listed
Weakness
CWE-119
Affected
microsoft/sql server
Source
cve@mitre.org
EPSS trend
0%45%90%26 October 2026: 87.04%26 October 202626 October 2026

EPSS 87.0% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (3)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-16396source ↗Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (via SQL Injection) (Metasploit)windows · Metasploitremote8 February 2011yes
EDB-16392source ↗Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (Metasploit)windows · Metasploitremote24 January 2011yes
EDB-7501source ↗Microsoft SQL Server - 'sp_replwritetovarbin()' Heap Overflowwindows · Guido Landilocal17 December 2008yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.