{"id":"CVE-2005-0021","aliases":["DEBIAN-CVE-2005-0021","DSA-635-1","DSA-637-1","EUVD-2005-0022","GHSA-4wq7-f94f-64w2","RHSA-2005:025"],"status":"published","title":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via ...","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02618,"percentile":0.85559,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2005-01-06T05:00:00Z","modified":"2026-10-23T03:47:36Z","exploits":[{"source":"exploitdb","id":"EDB-756","title":"Exim 4.41 - 'dns_build_reverse' Local Buffer Overflow","type":"local","platform":"linux","date":"2005-01-15","verified":true,"url":"https://www.exploit-db.com/exploits/756"},{"source":"exploitdb","id":"EDB-1009","title":"Exim 4.41 - 'dns_build_reverse' Local Read Emails","type":"local","platform":"linux","date":"2005-05-25","verified":true,"url":"https://www.exploit-db.com/exploits/1009"}],"fixes":[{"ecosystem":"Debian:12","package":"exim4","fixed_in":["4.34-10"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"exim4","fixed_in":["4.34-10"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"exim4","fixed_in":["4.34-10"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"exim","fixed_in":["3.35-1woody4"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"exim-tls","fixed_in":["3.35-3woody3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"exim4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.34-10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"exim4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.34-10"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"exim4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.34-10"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"exim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.35-1woody4"}]}],"versions":["3.35-1woody3"]},{"source":"osv","ecosystem":"Debian:3.0","package":"exim-tls","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.35-3woody3"}]}],"versions":["3.35-3woody1"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"exim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"exim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"exim-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"exim-mon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"exim-sa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"exim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"exim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"exim-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"exim-mon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"exim-sa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"exim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"exim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"exim-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"exim-mon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"exim-sa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"exim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"exim-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"exim-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"exim-mon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"exim-sa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.43-1.RHEL4.3"}]}],"bundled":2}],"products":[{"vendor":"university_of_cambridge","product":"exim"}],"references":[{"url":"http://www.idefense.com/application/poi/display?id=179\u0026type=vulnerabilities","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.kb.cert.org/vuls/id/132992","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Patch","US Government Resource","fix","web"]},{"url":"http://www.debian.org/security/2005/dsa-635","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://ftp6.us.freebsd.org/pub/mail/exim/ChangeLogs/ChangeLog-4.44","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2005/dsa-637","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.idefense.com/application/poi/display?id=183\u0026type=vulnerabilities","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-025.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","fix"]},{"url":"http://security.gentoo.org/glsa/glsa-200501-23.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050103/msg00028.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","article"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10347","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0021","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4wq7-f94f-64w2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-0021","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:025","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=144099","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_025.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0021","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617439","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0021","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0022","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617440","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0022","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0022","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-0021","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2005-01-06T05:00:00Z","modified":"2024-08-07T20:57:41.064Z","updated_at":"2026-11-02T14:33:40.245652Z"}],"euvd":[{"id":"EUVD-2005-0022","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2005-01-06T05:00:00Z","modified":"2024-08-07T20:57:41Z","updated_at":"2026-11-03T01:15:40.278038Z"}],"ghsa":[{"id":"GHSA-4wq7-f94f-64w2","title":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via ...","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2022-05-01T01:46:50Z","modified":"2023-01-30T05:06:38Z","updated_at":"2026-11-02T14:47:32.377793Z"}],"nvd":[{"id":"CVE-2005-0021","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-06-16T22:10:22.37Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:54.594271Z"}],"osv":[{"id":"CVE-2005-0021","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-04-10T03:36:48.031307Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2005-0021","description":"Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-10-23T03:47:36.933182384Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-635-1","title":"exim - buffer overflow","status":"published","published":"2005-01-12T00:00:00Z","modified":"2026-03-09T02:11:17.238117Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"DSA-637-1","title":"exim-tls - buffer overflow","status":"published","published":"2005-01-13T00:00:00Z","modified":"2026-03-09T02:10:20.383526Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"RHSA-2005:025","title":"Red Hat Security Advisory: exim security update","status":"published","published":"2024-09-15T15:04:45Z","modified":"2026-06-26T10:01:58Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
