High
Libxml: null pointer dereference leads to denial of service (dos)
Type: advisorySources: OSV
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-49795
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:03 UTC · Revision 1
Source evidence
Libxml: null pointer dereference leads to denial of service (dos)
core-osv · Original sourcePublished 16 Jun 2025, 15:19 UTC
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.
osv:CVE-2025-49795
Complete source record
{
"id": "54b3446b00dfd5bf723043d0fe8b7b9fc8155b30d5a56e7f95c7f517be685339",
"url": "https://osv.dev/vulnerability/CVE-2025-49795",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libxml: null pointer dereference leads to denial of service (dos)",
"summary": "A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.",
"evidence": "osv:CVE-2025-49795",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-49795",
"aliases": [
"CVE-2025-49795"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/libxml2",
"type": "GIT",
"events": [
{
"introduced": "ae383bdb74523ddaf831d7db0690173c25e483b3"
},
{
"fixed": "74f3154320df8950eceae4951975cc9dfc3a254d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.10.0"
},
{
"fixed": "2.14.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v2.14.4",
"v2.14.3",
"v2.14.2",
"v2.14.1",
"v2.14.0",
"v2.13.0",
"v2.12.0",
"v2.11.0",
"v2.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49795.json"
}
}
],
"modified": "2026-10-28T02:30:30.387732170Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://catalog.redhat.com/software/containers/",
"https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
"https://access.redhat.com/errata/RHSA-2025:10630",
"https://access.redhat.com/errata/RHSA-2025:19020",
"https://access.redhat.com/errata/RHSA-2026:7519",
"https://access.redhat.com/security/cve/CVE-2025-49795",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49795.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-49795",
"https://bugzilla.redhat.com/show_bug.cgi?id=2372379",
"https://gitlab.gnome.org/GNOME/libxml2/-/issues/932",
"https://gitlab.gnome.org/GNOME/libxml2/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-825"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:2.12.5-7.el10_0"
},
{
"fixed": "2.15.2-0.3.hum1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49795.json"
}
},
"related_cves": [
{
"value": "CVE-2025-49795",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497102,
"published_at": "2025-06-16T15:19:29.871+00:00"
}