← Vulnerability feed

Vulnerability record · CVE-2008-0086 · published 8 July 2008

CVE-2008-0086: Microsoft SQL Server 2000 convert function buffer overflow

Microsoft · Data Engine

A buffer overflow exists in the convert function of Microsoft SQL Server 2000 SP4, MSDE 2000 SP4, and WMSDE. A remote authenticated user can trigger it with a crafted SQL expression, which can lead to arbitrary code execution in the database engine's context. The flaw is serious because it allows a low-privilege database account to compromise the server process.

9.0 CVSS 2.0 High EPSS 62% · top 0.8% CWE-119 · Memory buffer overflow
9.0CVSS 2.0 base score
62%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
20References
16 Jun 2026Last modified by NVD

Description

Buffer overflow in the convert function in Microsoft SQL Server 2000 SP4, 2000 Desktop Engine (MSDE 2000) SP4, and 2000 Desktop Engine (WMSDE) allows remote authenticated users to execute arbitrary code via a crafted SQL expression.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityThe CVSS 2.0 score is 9.0 with complete confidentiality, integrity, and availability impact, and EPSS indicates a high probability of exploitation, though authentication is required and no KEV listing or public exploit reference is present.

What it is

A buffer overflow exists in the convert function of Microsoft SQL Server 2000 SP4, MSDE 2000 SP4, and WMSDE. A remote authenticated user can trigger it with a crafted SQL expression, which can lead to arbitrary code execution in the database engine's context. The flaw is serious because it allows a low-privilege database account to compromise the server process.

Impact

An attacker with valid database credentials can execute arbitrary code on the SQL Server host, potentially gaining full control of the database service and the underlying system. This can lead to data theft, tampering, or use of the server as a foothold for further attacks.

Attack surface

The vulnerability is reached over the network through the SQL Server interface by sending a crafted SQL expression to the convert function. Authentication is required (the CVSS vector shows Au:S), and no user interaction is needed beyond submitting the query.

Exploitation

The record does not list this CVE in CISA KEV and provides no reference tags indicating public exploit code or active exploitation. EPSS gives a 30-day probability of 0.61927 (99.135th percentile), suggesting a high likelihood of exploitation activity in the wild.

What to do

  • Apply the Microsoft security update MS08-040 immediately on all affected SQL Server 2000 SP4, MSDE 2000 SP4, and WMSDE installations.
  • If patching cannot be done at once, restrict network access to SQL Server ports to trusted hosts and disable unnecessary remote connections.
  • Enforce least privilege for database logins and remove or disable unused accounts to reduce the number of authenticated users who can reach the vulnerable function.
  • Upgrade from SQL Server 2000 and its desktop engine variants to a supported version, since these products are long out of support.

Detection

  • Monitor SQL Server error logs and Windows application logs for crashes or access violations in the database engine process.
  • Audit database queries for unusual or malformed use of the convert function, especially from low-privilege accounts.
  • Watch for unexpected child processes or outbound network connections originating from the SQL Server service account.
  • Use file integrity monitoring on SQL Server binaries and configuration files to detect unauthorized changes after a suspected compromise.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2008-0086 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2020-0618Microsoft SQL Server Reporting Services ViewState deserialization RCESQL Server Reporting Services mishandles page requests, allowing untrusted ViewState data to be deserialized (CWE-502). An authenticated attacker can…KEVEPSS 99%analysed8.8CVE-2019-1068Microsoft SQL Server improper input validation remote code executionMicrosoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. T…KEVEPSS 58%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed10.0CVE-2002-1145Microsoft data engine vulnerabilityThe xp_runwebtask stored procedure in the Web Tasks component of Microsoft SQL Server 7.0 and 2000, Microsoft Data Engine (MSDE) 1.0, and Microsoft D…EPSS 8.3%10.0CVE-2002-0721Microsoft SQL Server weak permissions on extended stored proceduresMicrosoft SQL Server 7.0 and 2000 installs extended stored procedures tied to helper functions with weak permissions. Unprivileged users, and possibl…EPSS 46%analysed10.0CVE-2000-1209Microsoft SQL Server and MSDE default null sa passwordMicrosoft SQL Server 2000, SQL Server 7.0 and MSDE 1.0 install the "sa" account with a default null password, and third-party packages such as Tumble…EPSS 87%analysed9.8CVE-2018-8273Microsoft sql server out-of-bounds write vulnerabilityA buffer overflow vulnerability exists in the Microsoft SQL Server that could allow remote code execution on an affected system, aka "Microsoft SQL S…EPSS 29%9.3CVE-2009-2500Microsoft windows 2003 server vulnerabilityInteger overflow in GDI+ in Microsoft Internet Explorer 6 SP1, Windows XP SP2 and SP3, Office XP SP3, Office 2003 SP3, 2007 Microsoft Office System S…EPSS 24%

Source: NIST National Vulnerability Database (record CVE-2008-0086), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.