Skip to content
OpenAdvisories
High openSUSE-SU-2021:0764-1 4 CVEs

Security update for libxml2

Published May 22, 2021 · Updated Feb 4, 2026

Summary

This update for libxml2 fixes the following issues:

- CVE-2021-3537: NULL pointer dereference in valid.c:xmlValidBuildAContentModel (bsc#1185698)
- CVE-2021-3518: Fixed a use after free in xinclude.c:xmlXIncludeDoProcess (bsc#1185408).
- CVE-2021-3517: Fixed a heap based buffer overflow in entities.c:xmlEncodeEntitiesInternal (bsc#1185410).
- CVE-2021-3516: Fixed a use after free in entities.c:xmlEncodeEntitiesInternal (bsc#1185409).

This update was imported from the SUSE:SLE-15:Update update project.

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.2 libxml2 2.9.7-lp152.10.12.1
openSUSE · Leap 15.2 python-libxml2-python 2.9.7-lp152.10.12.1

Vulnerabilities 4

  • High 8.8
    CVE-2021-3518 EPSS 22%

    Nokogiri Implements libxml2 version vulnerable to use-after-free

    There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, an…

  • High 8.6
    CVE-2021-3517 EPSS 17%

    Nokogiri contains libxml Out-of-bounds Write vulnerability

    There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds …

  • Medium 5.9

    Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing

    A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used …

  • Unscored —

    There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who is able to submit a crafted file to be p…

References

  • report
    https://bugzilla.suse.com/1185408
  • report
    https://bugzilla.suse.com/1185409
  • report
    https://bugzilla.suse.com/1185410
  • report
    https://bugzilla.suse.com/1185698
  • web
    https://www.suse.com/security/cve/CVE-2021-3516
  • web
    https://www.suse.com/security/cve/CVE-2021-3517
  • web
    https://www.suse.com/security/cve/CVE-2021-3518
  • web
    https://www.suse.com/security/cve/CVE-2021-3537