Rapid7

vulnerability

FreeBSD: VID-76e59f55-4f7a-4887-bcb0-11604004163a (CVE-2017-9048): libxml2 -- Multiple Issues

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
Dec 13, 2017
Added
Dec 14, 2017
Modified
Jun 15, 2026

Description

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 less than size. This vulnerability causes programs that use libxml2, such as PHP, to crash.

Solution

freebsd-upgrade-package-libxml2
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.