CVE-2026-6653
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedUse After Free in libxml2's xmlParseInternalSubset from GNOME libxml2 version 2.9.11 to 2.11.0 allows a remote attacker to cause a denial-of-service via maliciously crafted XML input with improper entity resolution handling.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA Use After Free vulnerability exists in libxml2's xmlParseInternalSubset function in versions 2.9.11 through 2.11.0. The vulnerability stems from improper handling during entity resolution processing, allowing a remote attacker to trigger the UAF condition via specially crafted malicious XML input, resulting in denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.9.11, <= 2.11.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed libxml2 versionRun `xml2-config --version` on the system, or check the library file version using `dpkg -l libxml2` (Debian/Ubuntu), `rpm -q libxml2` (RHEL/CentOS), or inspect the shared object file with `strings /usr/lib/libxml2.so.2 | grep '^2\.' | head -1`. In code, call xmlParserVersion() or link against libxml2 and print LIBXML_DOTTED_VERSION.Affected if The installed version falls between 2.9.11 and 2.11.0 inclusive (for example, 2.9.14, 2.10.3, or 2.11.0).
-
Identify processes or applications using libxml2Run `ldd <application_binary>` to see if it links against libxml2, or use `lsof | grep libxml` to list processes with open libxml2 library handles. Check application dependency lists or container manifests for libxml2 packages.Affected if Any actively running application or service links to and uses the affected libxml2 library version.
-
Verify XML parsing code pathsReview application source code for calls to xmlReadFile, xmlParseDoc, xmlReadMemory, or similar libxml2 parsing functions. Search for usage of xmlParseInternalSubset indirectly through XML DTD/internal subset parsing. Use dynamic tracing with `strace -e trace=xml* <program>` or `ltrace` to observe libxml2 calls at runtime.Affected if The application parses untrusted or external XML documents using libxml2 functions, particularly those involving DTD internal subset or entity resolution.
-
Inspect XML input sourcesExamine log files, upload directories, API endpoints, or configuration files that accept XML input. Check whether external entity (XXE) processing or DTD inclusion is enabled (look for XML_PARSE_DTDLOAD, XML_PARSE_DTDATTR, or XML_PARSE_NOENT flags in code or documentation).Affected if The environment processes XML from untrusted sources without input validation, or has DTD/external entity processing enabled.
You are affected if the installed libxml2 version is between 2.9.11 and 2.11.0 inclusive AND any application or service in your environment links to this library while parsing XML from potentially untrusted sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate libxml2 to version 2.11.1 or later. For applications using vulnerable libxml2 versions, rebuild and redeploy with the patched library to address the entity resolution handling flaw in xmlParseInternalSubset.
libxml2 2.11.1 or later
- 1. Identify all applications and systems that depend on libxml2
- 2. Check current installed version of libxml2 on each system (e.g., `xml2 --version` or check package manager)
- 3. Consult your Linux distribution or system's package manager for available patched packages
- 4. For source builds, download libxml2 version 2.11.1 or later from https://gitlab.gnome.org/GNOME/libxml2/-/releases
- 5. Test the upgrade in a staging environment before deploying to production
- 6. Apply the upgrade using your system's package manager or rebuild dependent applications against the new library version
- 7. Verify the fix by confirming the new libxml2 version is loaded and the vulnerability is resolved
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing24.0 h
- Review / QA12.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $16,384.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-6653 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-6653 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data