
CVE catalog
CVE-2004-1440
putty: CVE-2004-1440
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.11% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | putty | sid | 0.85-3 | fixed |
| Debian | putty | forky | 0.85-3 | fixed |
| Debian | putty | trixie | 0.83-3 | fixed |
| Debian | putty | bookworm | 0.78-2+deb12u2 | fixed |
| Debian | putty | bookworm-security | 0.78-2+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | putty | source | sid | 0.56-1 | not yet assigned | Not reported | Not reported |
| Debian | putty | source | forky | 0.56-1 | not yet assigned | Not reported | Not reported |
| Debian | putty | source | trixie | 0.56-1 | not yet assigned | Not reported | Not reported |
| Debian | putty | source | bookworm | 0.56-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [pterm]Fixed
Source package: [putty]
Details (4)
0.78-2+deb12u2· amd64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u2· arm64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
- [putty]Fixed
Details (4)
0.78-2+deb12u2· amd64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u2· arm64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
- [putty-doc]Fixed
Source package: [putty]
Details (4)
0.78-2+deb12u2· all · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u2· all · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· all · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· all · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
- [putty-tools]Fixed
Source package: [putty]
Details (4)
0.78-2+deb12u2· amd64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u2· arm64 · bookwormFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
0.78-2+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.56-1dsa · putty · debian · bookworm; dsa · putty · debian · 12
[Debian 13 (Trixie)]
- [pterm]Fixed
Source package: [putty]
Details (2)
0.83-3· amd64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
0.83-3· arm64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
- [putty]Fixed
Details (2)
0.83-3· amd64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
0.83-3· arm64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
- [putty-doc]Fixed
Source package: [putty]
Details (2)
0.83-3· all · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
0.83-3· all · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
- [putty-tools]Fixed
Source package: [putty]
Details (2)
0.83-3· amd64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
0.83-3· arm64 · trixieFixed · Fixed:
0.56-1dsa · putty · debian · 13
Observed: