CVE Vulnerabilities

CVE-2017-10672

Use After Free

Published: Jun 29, 2017 | Modified: Apr 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
5.6 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

Use-after-free in the XML-LibXML module through 2.0129 for Perl allows remote attackers to execute arbitrary code by controlling the arguments to a replaceChild call.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Xml-libxml Xml-libxml_project * 2.0129 (including)
Libxml-libxml-perl Ubuntu artful *
Libxml-libxml-perl Ubuntu devel *
Libxml-libxml-perl Ubuntu esm-infra/xenial *
Libxml-libxml-perl Ubuntu trusty *
Libxml-libxml-perl Ubuntu upstream *
Libxml-libxml-perl Ubuntu xenial *
Libxml-libxml-perl Ubuntu yakkety *
Libxml-libxml-perl Ubuntu zesty *

Potential Mitigations

References