7.5
CWE
NVD-CWE-Other 119
Advisory Published
CVE Published
Updated

CVE-2001-0542: Buffer Overflow

First published: Thu Dec 20 2001(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Microsoft SQL Server=7.0
Microsoft SQL Server=2000

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2001-0542?

    CVE-2001-0542 is considered a critical vulnerability due to its potential to allow remote code execution.

  • How do I fix CVE-2001-0542?

    The primary fix for CVE-2001-0542 is to upgrade to a supported version of Microsoft SQL Server, as no patches are provided for the affected versions.

  • Who is affected by CVE-2001-0542?

    CVE-2001-0542 affects users of Microsoft SQL Server 7.0 and SQL Server 2000 who have access to the database.

  • What are the exploit methods for CVE-2001-0542?

    Attackers can exploit CVE-2001-0542 through certain SQL Server functions such as raiserror, formatmessage, or xp_sprintf to execute arbitrary code.

  • Is CVE-2001-0542 still a risk today?

    While CVE-2001-0542 was reported over two decades ago, systems still using vulnerable versions of SQL Server may still be at risk if not properly updated or secured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203