CVE-2017-9048CWE-119

CVE-2017-9048

High · published May 18, 2017

CVSS v3.1
7.5
EPSS
5%
Percentile
91.9
In the wild
Unconfirmed
What it is

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 < size. This vulnerability causes programs that use libxml2, such as PHP, to crash.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.04848 · 91.9th percentile
Weakness
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
2017-05-18T10:29Z
Affected products (1)
ProductVersionsFixed in
xmlsoft/libxml2all versions—
References (13)
EPSS history
Timeline
  • 18 MAY 06:13Z
    libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow
    cvelistv5