CVE-2004-1440

Summary

CVECVE-2004-1440
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2004-12-31 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionMultiple 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Putty Putty 0.48 All All All
Application Putty Putty 0.49 All All All
Application Putty Putty 0.50 All All All
Application Putty Putty 0.51 All All All
Application Putty Putty 0.52 All All All
Application Putty Putty 0.53 All All All
Application Putty Putty 0.53b All All All
Application Putty Putty 0.54 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Secunia - Advisories - PuTTY Authentication Process Buffer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch
PuTTY Change Log af854a3a-2127-422b-91ae-364da2661108 www.chiark.greenend.org.uk
PuTTY vulnerability vuln-modpow af854a3a-2127-422b-91ae-364da2661108 www.chiark.greenend.org.uk
marc.info af854a3a-2127-422b-91ae-364da2661108 marc.info
PuTTY Modpow Integer Handling Memory Corruption Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Patch
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Gentoo Linux Documentation -- PuTTY: Pre-authentication arbitrary code execution af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report