Skip to content
Heist/ feed
Back to feed
MediumFix available

libxml2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3541

A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.

Products
libxml2
Affected versions
Not specified
Fixed versions
2.9.10+dfsg-6.7
CVEs
CVE-2021-3541
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:17 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3541

core-osv · Original source

Published 9 Jul 2021, 17:15 UTC

A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.

osv:DEBIAN-CVE-2021-3541

libxml2

Fixed versions: 2.9.10+dfsg-6.7

libxml2

Fixed versions: 2.9.10+dfsg-6.7

libxml2

Fixed versions: 2.9.10+dfsg-6.7

Complete source record
{
  "id": "b3ead9c0ce022d5f4072f7c9b72d3b82c26339826740a279227373245e463130",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3541",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3541",
    "summary": "A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service.",
    "evidence": "osv:DEBIAN-CVE-2021-3541",
    "products": [
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.10+dfsg-6.7",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.10+dfsg-6.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxml2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.9.10+dfsg-6.7",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-3541",
      "aliases": [
        "DEBIAN-CVE-2021-3541"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.10+dfsg-6.7"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3541.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.10+dfsg-6.7"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3541.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.9.10+dfsg-6.7"
                }
              ]
            }
          ],
          "package": {
            "name": "libxml2",
            "purl": "pkg:deb/debian/libxml2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3541.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:28.467113044Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3541"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3541"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3541",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327410,
  "published_at": "2021-07-09T17:15:07.973+00:00"
}