Out-of-Bounds

Affecting libxml2 package, versions <2.9.1+dfsg1-5+deb8u5

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

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.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    None
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE
CVE-2017-9048
CWE
CWE-119
Snyk ID
SNYK-DEBIAN8-LIBXML2-429383
Disclosed
18 May, 2017
Published
18 May, 2017