CVE-2004-1440
CVE-2004-1440 is a high-severity vulnerability in Putty with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Putty
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2004-1440?
- 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.
- How severe is CVE-2004-1440?
- CVE-2004-1440 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2004-1440 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-1440?
- CVE-2004-1440 primarily affects Putty. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-1440?
- 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-2004-1440 published?
- CVE-2004-1440 was published on 2004-12-31 and last updated on 2026-06-16.
References
- http://marc.info/?l=bugtraq&m=109167869528138&w=2
- http://secunia.com/advisories/12212/
- http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-modpow.html
- http://www.gentoo.org/security/en/glsa/glsa-200408-04.xml
- http://www.securityfocus.com/bid/10850
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16885
Affected products (8)
- cpe:2.3:a:putty:putty:0.48:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.49:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.50:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.51:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.52:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.53:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.53b:*:*:*:*:*:*:*
- cpe:2.3:a:putty:putty:0.54:*:*:*:*:*:*:*
More vulnerabilities in Putty
- CVE-2004-1008 — Critical (CVSS 10.0): Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary…
- CVE-2002-1357 — Critical (CVSS 10.0): Multiple SSH2 servers and clients do not properly handle packets or data elements with incorrect length specifiers,…
- CVE-2002-1358 — Critical (CVSS 10.0): Multiple SSH2 servers and clients do not properly handle lists with empty elements or strings, which may allow remote…
- CVE-2002-1360 — Critical (CVSS 10.0): Multiple SSH2 servers and clients do not properly handle strings with null characters in them when the string length is…
- CVE-2002-1359 — Critical (CVSS 10.0): Multiple SSH2 servers and clients do not properly handle large packets or large fields, which may allow remote…
- CVE-2019-17067 — Critical (CVSS 9.8): PuTTY before 0.73 on Windows improperly opens port-forwarding listening sockets, which allows attackers to listen on…