Cloudanix VulnDB

CVE-2016-4447

High · 7.5

CVSS

7.5

EPSS

14.0%

Published

Jun 9, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in how some software reads certain files can let attackers crash programs and interrupt services by sending specially made files.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer underread in xmlParseElementDecl during xmlParseName processing of crafted XML input leading to application crash.

Why it matters to the business

Denial of service causing application downtime and service disruption. Public exploits have been available for years with stable moderate exploitability scores.

How an attack unfolds

An attacker supplies a malicious file containing a specially crafted XML element declaration that reaches xmlParseElementDecl in parser.c, triggering the underread and crash when processed by dependent applications such as ghostscript.

How to fix it

Upgrade ghostscript packages to the fixed versions 9.22~dfsg-1 or later on Debian 10, 11, 12, and 13. Ensure underlying libxml2 dependency is at least 2.9.4.

How to confirm the fix worked

Confirm installed ghostscript version meets or exceeds 9.22~dfsg-1 on each Debian release and test parsing of known triggering XML constructs for absence of crashes.

Typical attack path

  1. Craft malicious XML file targeting element declaration parsing
  2. Deliver file to target application or service that invokes libxml2
  3. Trigger XML parsing path through xmlParseName
  4. Induce heap buffer underread resulting in crash

How to detect it

Review application and system logs for sudden crashes or segmentation faults triggered by XML file processing; inspect any available core dumps or stack traces referencing parser.c or xmlParseElementDecl.

What your security team should do

  • Apply package upgrades to fixed versions without delay
  • Harden XML input handling and add resource limits around parsing
  • Monitor crash logs for segmentation faults during XML processing

The record

The xmlParseElementDecl function in parser.c in libxml2 before 2.9.4 allows context-dependent attackers to cause a denial of service (heap-based buffer underread and application crash) via a crafted file, involving xmlParseName.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 libxml2 0 2.9.3+dfsg1-1.1
Debian:12 libxml2 0 2.9.3+dfsg1-1.1
Debian:13 libxml2 0 2.9.3+dfsg1-1.1
Debian:14 libxml2 0 2.9.3+dfsg1-1.1
Debian:7 libxml2 0 2.8.0+dfsg1-7+wheezy6
Debian:8 libxml2 0 2.9.1+dfsg1-5+deb8u2
Mageia:5 libxml2 0 2.9.4-1.1.mga5
Red Hat:enterprise_linux:6::client libxml2 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::client libxml2-debuginfo 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::client libxml2-devel 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::client libxml2-python 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::client libxml2-static 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::computenode libxml2 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::computenode libxml2-debuginfo 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::computenode libxml2-devel 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::computenode libxml2-python 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::computenode libxml2-static 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::server libxml2 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::server libxml2-debuginfo 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::server libxml2-devel 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::server libxml2-python 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::server libxml2-static 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::workstation libxml2 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::workstation libxml2-debuginfo 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::workstation libxml2-devel 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::workstation libxml2-python 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::workstation libxml2-static 0 0:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:7::client libxml2 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::client libxml2-debuginfo 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::client libxml2-devel 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::client libxml2-python 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::client libxml2-static 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::computenode libxml2 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::computenode libxml2-debuginfo 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::computenode libxml2-devel 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::computenode libxml2-python 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::computenode libxml2-static 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::server libxml2 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::server libxml2-debuginfo 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::server libxml2-devel 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::server libxml2-python 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::server libxml2-static 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::workstation libxml2 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::workstation libxml2-debuginfo 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::workstation libxml2-devel 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::workstation libxml2-python 0 0:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::workstation libxml2-static 0 0:2.9.1-6.el7_2.3
SUSE:Linux Enterprise Desktop 12 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Desktop 12 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Desktop 12 SP1 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Desktop 12 SP1 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server 11 SP2-LTSS libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Server 11 SP2-LTSS libxml2-python 0 2.7.6-0.44.4
SUSE:Linux Enterprise Server 11 SP3-LTSS libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Server 11 SP3-LTSS libxml2-python 0 2.7.6-0.44.4
SUSE:Linux Enterprise Server 11 SP3-TERADATA libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA libxml2-python 0 2.7.6-0.44.4
SUSE:Linux Enterprise Server 11 SP4 libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Server 11 SP4 libxml2-python 0 2.7.6-0.44.4
SUSE:Linux Enterprise Server 12 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server 12 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server 12 SP1 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server 12 SP1 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 libxml2-python 0 2.7.6-0.44.4
SUSE:Linux Enterprise Server for SAP Applications 12 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server for SAP Applications 12 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 python-libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 libxml2 0 2.7.6-0.44.1
SUSE:Linux Enterprise Software Development Kit 12 libxml2 0 2.9.1-24.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 libxml2 0 2.9.1-24.1
SUSE:Manager 2.1 libxml2 0 2.7.6-0.44.1
SUSE:Manager 2.1 libxml2-python 0 2.7.6-0.44.4
SUSE:Manager Proxy 2.1 libxml2 0 2.7.6-0.44.1
SUSE:Manager Proxy 2.1 libxml2-python 0 2.7.6-0.44.4
SUSE:OpenStack Cloud 5 libxml2 0 2.7.6-0.44.1
SUSE:OpenStack Cloud 5 libxml2-python 0 2.7.6-0.44.4
Ubuntu:14.04:LTS libxml2 0 2.9.1+dfsg1-3ubuntu4.8
Ubuntu:16.04:LTS libxml2 0 2.9.3+dfsg1-1ubuntu0.1

Related vulnerabilities