ADVISORIES

Vulnerability

CVE-2021-3517

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 read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

30 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2-2021-1662

    Amazon Linux 2 2017.12 - ALAS2-2021-1662: medium priority package update for libxml2

    Medium CVE-2020-24977CVE-2021-3517CVE-2021-3541 Amazon Linux Updated 22 June 2021
  • ALAS2-2021-1718

    Amazon Linux 2 2017.12 - ALAS2-2021-1718: important priority package update for java-11-amazon-corretto

    Important CVE-2021-3517CVE-2021-3522CVE-2021-35550CVE-2021-35556 Amazon Linux Updated 4 November 2021
  • ALPINE-CVE-2021-3517

    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…

    CVE-2021-3517 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-3517
    CVE-2021-3517 Alpine Updated 18 November 2026
  • ALSA-2021:2569

    Moderate: libxml2 security update

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 AlmaLinux Updated 29 October 2026
  • DEBIAN-CVE-2021-3517

    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…

    CVE-2021-3517 Debian Updated 15 October 2026
  • DLA-2653-1

    libxml2 - security update

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 Debian Updated 20 November 2026
  • ELSA-2021-2569

    ELSA-2021-2569: libxml2 security update (MODERATE)

    Moderate CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 Oracle Linux Updated 3 July 2021
  • GHSA-jw9f-hh49-cvp9

    Nokogiri contains libxml Out-of-bounds Write vulnerability

    High CVE-2021-3517 RubyGems Updated 8 March 2024
  • OESA-2021-1202

    libxml2 security update

    High CVE-2021-3517CVE-2021-3518CVE-2021-3537 openEuler Updated 18 August 2026
  • RHSA-2021:2569

    Red Hat Security Advisory: libxml2 security update

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 Red Hat Updated 15 October 2026
  • RHSA-2022:1389

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP11 security update

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-3517

    libxml2: Heap-based buffer overflow in xmlEncodeEntitiesInternal() in entities.c

    Moderate CVE-2021-3517 Red Hat Updated 22 November 2026
  • RLSA-2021:2569

    Moderate: libxml2 security update

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:14729-1

    Security update for libxml2

    CVE-2014-0191CVE-2019-19956CVE-2019-20388CVE-2020-24977 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1523-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1524-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1654-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1658-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2021-3517

    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…

    Important CVE-2021-3517 SUSE Updated 3 November 2026
  • UBUNTU-CVE-2021-3517

    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…

    CVE-2021-3517 Ubuntu Updated 22 April 2026
  • USN-4991-1

    libxml2 vulnerabilities

    CVE-2017-8872CVE-2019-20388CVE-2020-24977CVE-2021-3516 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:0692-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0764-1

    Security update for libxml2

    CVE-2021-3516CVE-2021-3517CVE-2021-3518CVE-2021-3537 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11016-1

    libxml2-2-2.9.12-1.2 on GA media

    CVE-2007-6284CVE-2016-4658CVE-2017-0663CVE-2017-5969 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11912-1

    ruby3.1-rubygem-nokogiri-1.13.3-1.1 on GA media

    CVE-2013-2877CVE-2014-0191CVE-2015-1819CVE-2015-5312 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13165-1

    ruby3.2-rubygem-nokogiri-1.13.9-1.7 on GA media

    CVE-2013-2877CVE-2014-0191CVE-2015-1819CVE-2015-5312 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14174-1

    ruby3.3-rubygem-nokogiri-1.15.5-1.5 on GA media

    CVE-2013-2877CVE-2014-0191CVE-2015-1819CVE-2015-5312 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14697-1

    ruby3.4-rubygem-nokogiri-1.18.2-1.1 on GA media

    CVE-2013-2877CVE-2014-0191CVE-2015-1819CVE-2015-5312 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10356-1

    ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media

    CVE-2013-2877CVE-2014-0191CVE-2015-1819CVE-2015-5312 openSUSE Updated 14 March 2026

References