CVE-2016-0718: expat 2.2, bug #537

The Expat XML parser mishandles certain kinds of malformed input documents, resulting in buffer overflows during processing and error reporting. The overflows can manifest as a segmentation fault or as memory corruption during a parse operation. The bugs allow for a denial of service attack in many applications by an unauthenticated attacker, and could conceivably result in remote code execution.

CVE-ID:

  • CVE-2016-0718
  • CVE-2016-4472
  • Disclosure date: 2017-02-17 (Python issue bpo-29591 reported)
  • Reported by: 2016-05-27 (expat bug #537 reported)

Fixed In

Vulnerable Versions

  • Python 3.7

Python issue

expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472).

  • Python issue: bpo-29591
  • Creation date: 2017-02-17
  • Reporter: Natanael Copa

CVE-2016-0718

Expat allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a malformed input document, which triggers a buffer overflow.

Timeline

Timeline using the disclosure date 2017-02-17 as reference: