{"id":"CVE-2005-2040","aliases":["DEBIAN-CVE-2005-2040","DSA-758-1","EUVD-2005-2042","GHSA-r4rj-wjf2-m94v"],"status":"published","title":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may...","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02843,"percentile":0.86764,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2005-06-20T04:00:00Z","modified":"2026-10-23T03:47:38Z","fixes":[{"ecosystem":"Debian:12","package":"heimdal","fixed_in":["0.6.3-11"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"heimdal","fixed_in":["0.6.3-11"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"heimdal","fixed_in":["0.6.3-11"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"heimdal","fixed_in":["0.4e-7.woody.10"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"heimdal","fixed_in":["0.6.3-10sarge1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"heimdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-11"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"heimdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-11"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"heimdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-11"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"heimdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4e-7.woody.10"}]}],"versions":["0.2l-7","0.2l-7.6","0.4e-7.woody.1","0.4e-7.woody.8","0.4e-7.woody.9"]},{"source":"osv","ecosystem":"Debian:3.1","package":"heimdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3-10sarge1"}]}],"versions":["0.6.3-10"]}],"products":[{"vendor":"telnetd","product":"telnetd"}],"references":[{"url":"http://www.pdc.kth.se/heimdal/advisory/2005-06-20/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2005/dsa-758","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/15718","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200506-24.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2005_40_heimdal.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-2040"},{"url":"http://www.pdc.kth.se/heimdal/advisory/2005-06-20"},{"url":"https://github.com/advisories/GHSA-r4rj-wjf2-m94v"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-2040","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-2040","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2005-06-21T04:00:00Z","modified":"2024-08-07T22:15:36.803Z","updated_at":"2026-11-02T14:33:37.840038Z"}],"euvd":[{"id":"EUVD-2005-2042","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2005-06-21T04:00:00Z","modified":"2024-08-07T22:15:36Z","updated_at":"2026-11-03T01:15:32.408501Z"}],"ghsa":[{"id":"GHSA-r4rj-wjf2-m94v","title":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may...","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2022-05-01T02:04:26Z","modified":"2025-04-03T04:15:37Z","updated_at":"2026-11-02T15:00:42.132742Z"}],"nvd":[{"id":"CVE-2005-2040","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2005-06-20T04:00:00Z","modified":"2026-06-16T22:14:07.617Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:55.600202Z"}],"osv":[{"id":"CVE-2005-2040","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2005-06-20T04:00:00Z","modified":"2026-04-10T03:38:07.615475Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2005-2040","description":"Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code, a different vulnerability than CVE-2005-0468 and CVE-2005-0469.","status":"published","published":"2005-06-20T04:00:00Z","modified":"2026-10-23T03:47:38.432113224Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"DSA-758-1","title":"heimdal - buffer overflow","status":"published","published":"2005-07-18T00:00:00Z","modified":"2026-03-09T02:10:23.826887Z","updated_at":"2026-11-02T15:46:18.296714Z"}]}}
