# CVE-2009-2666: socket.c in fetchmail before 6.3.11 does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of a…

- Severity: Medium 6.4 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 75% of CVEs (2026-12-01)
- Published: 2009-08-07T18:33:00.000Z
- Modified: 2026-06-16T23:09:57.297Z
- Weaknesses: CWE-310
- Assigned by: mitre

## Description

socket.c in fetchmail before 6.3.11 does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fetchmail fetchmail: up to 6.3.10; 4.5.1; 4.5.2; 4.5.3; 4.5.4; 4.5.5; 4.5.6; 4.5.7; 4.5.8; 4.6.0; 4.6.1; 4.6.2; and 38 more

## References

- <http://www.mandriva.com/security/advisories?name=MDVSA-2009:201> (vendor-advisory)
- <http://secunia.com/advisories/36175> (third-party-advisory, vendor-advisory)
- <http://secunia.com/advisories/36236> (third-party-advisory, vendor-advisory)
- <http://www.debian.org/security/2009/dsa-1852> (vendor-advisory)
- <http://fetchmail.berlios.de/fetchmail-SA-2009-01.txt>
- <http://marc.info/?l=oss-security&m=124949601207156&w=2> (mailing-list)
- <http://www.securityfocus.com/archive/1/505530/100/0/threaded> (mailing-list)
- <http://www.slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.543463> (vendor-advisory)
- <http://secunia.com/advisories/36179> (third-party-advisory, vendor-advisory)
- <http://www.securitytracker.com/id?1022679> (vdb-entry)
- <http://osvdb.org/56855> (vdb-entry)
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11059> (signature, vdb-entry)
- <http://www.vupen.com/english/advisories/2009/3184> (vdb-entry, vendor-advisory)
- <http://www.vupen.com/english/advisories/2009/2155> (vdb-entry, vendor-advisory)
- <http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html> (vendor-advisory)
- <http://support.apple.com/kb/HT3937>
- <http://www.securityfocus.com/bid/35951> (vdb-entry)

## Sources

- CVE List: [CVE-2009-2666](https://www.cve.org/CVERecord?id=CVE-2009-2666), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2009-2666](https://nvd.nist.gov/vuln/detail/CVE-2009-2666), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2009-2666 · Whole record: https://cve.day/CVE-2009-2666.json · Rebuilt by cve.day 2026-11-25T22:57:06.142Z
