CVE-2004-1440: Buffer Overflow

Published 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.

Affected Software

8 affected components
Putty PuTTY=0.48
Putty PuTTY=0.49
Putty PuTTY=0.50
Putty PuTTY=0.51
Putty PuTTY=0.52
Putty PuTTY=0.53
Putty PuTTY=0.53b
Putty PuTTY=0.54

Event History

Dec 31, 2004
CVE Published
05:00 AM
Feb 13, 2005
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2004-1440?

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

2

How do I fix CVE-2004-1440?

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

3

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

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

4

What type of vulnerability is CVE-2004-1440?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203