Echo: libxml2-2.9.1: security update to 2.9.1+e1

high Tenable Cloud Security Plugin ID 476452

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A buffer overflow was discovered in libxml2 20904-GITv2.9.4-16-g0741801. The function
xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a
char buffer 'buf' of size 'size'. The variable len is assigned strlen(buf). If the content->type is
XML_ELEMENT_CONTENT_ELEMENT, then (i) the content->prefix is appended to buf (if it actually fits)
whereupon (ii) content->name is written to the buffer. However, the check for whether the content->name
actually fits also uses 'len' rather than the updated buffer length strlen(buf). This allows us to write
about "size" many bytes beyond the allocated memory. This vulnerability causes programs that use libxml2,
such as PHP, to crash. (CVE-2017-9047)

Solution

Update the libxml2-2.9.1 library and its related packages to version 2.9.1+e1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2017-9047

Plugin Details

Severity: High

ID: 476452

Version: Revision 1.1

Type: Local

Published: 10/21/2026

Updated: 10/21/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.63

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2017-9047

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/21/2026

Vulnerability Publication Date: 5/18/2017

Reference Information

CVE: CVE-2017-9047