Heap-based Buffer Overflow Affecting libxml2 package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.16% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-LIBXML2-9838851
  • published28 Apr 2025
  • disclosed22 Oct 2015

Introduced: 22 Oct 2015

CVE-2015-7942  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 libxml2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2 package and not the libxml2 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The xmlParseConditionalSections function in parser.c in libxml2 does not properly skip intermediary entities when it stops parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) via crafted XML data, a different vulnerability than CVE-2015-7941.

References

CVSS Base Scores

version 3.1