USN-3494-1: XML::LibXML vulnerability

27 November 2017

libxml-libxml-perl vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.10
  • Ubuntu 17.04
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS


XML::LibXML could be made to crash or run programs if it processed specially crafted input.

Software Description

  • libxml-libxml-perl - Perl interface to the libxml2 library


It was discovered that XML::LibXML incorrectly handled memory when processing a replaceChild call. A remote attacker could possibly use this issue to execute arbitrary code.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 17.10
libxml-libxml-perl - 2.0128+dfsg-3ubuntu0.1
Ubuntu 17.04
libxml-libxml-perl - 2.0128+dfsg-1ubuntu0.1
Ubuntu 16.04 LTS
libxml-libxml-perl - 2.0123+dfsg-1ubuntu0.1
Ubuntu 14.04 LTS
libxml-libxml-perl - 2.0108+dfsg-1ubuntu0.2

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.