CVE-2008-5416 Memory corruption in n/a

Critical 9.0 Published Updated

Remote authenticated users can execute arbitrary code or cause denial of service via a heap-based buffer overflow in SQL Server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2008-5416?

CVE-2008-5416 is a critical memory corruption vulnerability in Microsoft Sql Server, published on 10 Dec 2008. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2008-5416?

It affects 1 product.

Products include Microsoft Sql Server.

How do I fix CVE-2008-5416?

No fix has been published for CVE-2008-5416 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2008-5416 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-5416 exists.

Public exploit code: 2 Metasploit modules, 3 Exploit-DB entries and 1 proofs of concept on GitHub.

All Microsoft Sql Server vulnerabilities

Sources

Also known as CVE-2008-4270, GHSA-qhrx-q7mr-q5x7.

Is CVE-2008-5416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free