CVE-2013-1752: CVE-2013-1752: Limit imaplib.IMAP4_SSL.readline()

The imaplib module doesn’t limit the amount of read data in its call to IMAP4_SSL.readline(). An erroneous or malicious IMAP server can trick the imaplib module to consume large amounts of memory.

  • Disclosure date: 2012-09-25 (Python issue bpo-16039 reported)

Fixed In

Python issue

imaplib: unlimited readline() from connection.

  • Python issue: bpo-16039
  • Creation date: 2012-09-25
  • Reporter: Christian Heimes

Timeline

Timeline using the disclosure date 2012-09-25 as reference: