CVE-2001-0542

CVE-2001-0542 is a high-severity vulnerability in Microsoft Sql Server with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 14% places it in the 96th percentile, indicating an elevated likelihood of exploitation.

Key facts

Description

Buffer overflows in Microsoft SQL Server 7.0 and 2000 allow attackers with access to SQL Server to execute arbitrary code through the functions (1) raiserror, (2) formatmessage, or (3) xp_sprintf. NOTE: the C runtime format string vulnerability reported in MS01-060 is identified by CVE-2001-0879.

Frequently asked questions

What is CVE-2001-0542?
Buffer overflows in Microsoft SQL Server 7.0 and 2000 allow attackers with access to SQL Server to execute arbitrary code through the functions (1) raiserror, (2) formatmessage, or (3) xp_sprintf. NOTE: the C runtime format string vulnerability reported in MS01-060 is identified by CVE-2001-0879.
How severe is CVE-2001-0542?
CVE-2001-0542 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2001-0542 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 14% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2001-0542?
CVE-2001-0542 primarily affects Microsoft Sql Server. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2001-0542?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2001-0542 published?
CVE-2001-0542 was published on 2001-12-20 and last updated on 2026-06-16.

References

Affected products (2)

More vulnerabilities in Microsoft Sql Server

All CVEs affecting Microsoft Sql Server →