{"id":"CVE-2004-1440","sourceIdentifier":"cve@mitre.org","published":"2004-12-31T05:00:00.000","lastModified":"2026-06-16T22:07:42.493","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.48:*:*:*:*:*:*:*","matchCriteriaId":"1283B462-042C-4857-A700-4179AAE20E2F"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.49:*:*:*:*:*:*:*","matchCriteriaId":"2791C9DD-F55D-4683-85AF-B6814C34EFBF"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.50:*:*:*:*:*:*:*","matchCriteriaId":"6D7582C1-AA8E-41E4-9D69-9A18A5B76CB0"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.51:*:*:*:*:*:*:*","matchCriteriaId":"FC082AE0-C49D-4944-BE76-B751DAD1EF84"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.52:*:*:*:*:*:*:*","matchCriteriaId":"23BAD8E4-2D3A-45EE-A25D-77BD698119BB"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.53:*:*:*:*:*:*:*","matchCriteriaId":"58BA8E70-9491-4D4F-9182-2F48347BF6FC"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.53b:*:*:*:*:*:*:*","matchCriteriaId":"8F7716EC-E0F9-4E50-8351-35D2F248B380"},{"vulnerable":true,"criteria":"cpe:2.3:a:putty:putty:0.54:*:*:*:*:*:*:*","matchCriteriaId":"46C2BD4D-9817-459E-ACF4-9C95233200A2"}]}]}],"references":[{"url":"http://marc.info/?l=bugtraq&m=109167869528138&w=2","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/12212/","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html","source":"cve@mitre.org"},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-modpow.html","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200408-04.xml","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/10850","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16885","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=109167869528138&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/12212/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-modpow.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200408-04.xml","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/10850","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16885","source":"af854a3a-2127-422b-91ae-364da2661108"}]}