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

CVE-2004-1440: Buffer Overflow

First published: Fri Dec 31 2004(Updated: )

Multiple heap-based buffer overflows in the modpow function in PuTTY before 0.55 allow (1) remote attackers to execute arbitrary code via an SSH2 packet with a base argument that is larger than the mod argument, which causes the modpow function to write memory before the beginning of its buffer, and (2) remote malicious servers to cause a denial of service (client crash) and possibly execute arbitrary code via a large bignum during authentication.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PuTTY=0.48
PuTTY=0.49
PuTTY=0.50
PuTTY=0.51
PuTTY=0.52
PuTTY=0.53
PuTTY=0.53b
PuTTY=0.54

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-2004-1440?

    The severity of CVE-2004-1440 is high due to the potential for remote code execution.

  • How do I fix CVE-2004-1440?

    To fix CVE-2004-1440, update PuTTY to version 0.55 or later.

  • Which versions of PuTTY are affected by CVE-2004-1440?

    CVE-2004-1440 affects PuTTY versions 0.48 through 0.54.

  • What type of vulnerability is CVE-2004-1440?

    CVE-2004-1440 is classified as a heap-based buffer overflow vulnerability.

  • Can CVE-2004-1440 be exploited remotely?

    Yes, CVE-2004-1440 can be exploited remotely via specially crafted SSH2 packets.

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