{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-9714",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2025-08-29T23:28:33.339Z",
        "datePublished": "2025-09-10T18:43:12.204Z",
        "dateUpdated": "2026-05-12T12:02:43.668Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://gitlab.gnome.org/GNOME/libxml2",
                    "defaultStatus": "unaffected",
                    "modules": [
                        "xpath"
                    ],
                    "packageName": "libxml2",
                    "platforms": [
                        "Linux"
                    ],
                    "product": "libxml2",
                    "programFiles": [
                        "xpath.c"
                    ],
                    "repo": "https://gitlab.gnome.org/GNOME/libxml2",
                    "vendor": "libxml2",
                    "versions": [
                        {
                            "lessThan": "2.10.0",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "2.12.7+dfsg+really2.9.14-0.4ubuntu0.3",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.14+dfsg-1.3ubuntu3.5",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.13+dfsg-1ubuntu0.9",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.10+dfsg-5ubuntu0.20.04.10+esm2",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.4+dfsg1-6.1ubuntu1.9+esm5",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.3+dfsg1-1ubuntu0.7+esm10",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        },
                        {
                            "lessThan": "2.9.1+dfsg1-3ubuntu4.13+esm9",
                            "status": "affected",
                            "version": "0",
                            "versionType": "dpkg"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Nikita Sveshnikov (Positive Technologies)"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<div>Uncontrolled recursion in&nbsp;XPath evaluation&nbsp;in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions `xmlXPathRunEval`, `<code>xmlXPathCtxtCompile</code>`, and `<code>xmlXPathEvalExpr</code>` were resetting recursion depth to zero before making potentially recursive calls. When such functions were called recursively this could allow for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled.</div>"
                        }
                    ],
                    "value": "Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions `xmlXPathRunEval`, `xmlXPathCtxtCompile`, and `xmlXPathEvalExpr` were resetting recursion depth to zero before making potentially recursive calls. When such functions were called recursively this could allow for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-130",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-130 Excessive Allocation"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.2,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-674",
                            "description": "CWE-674 Uncontrolled Recursion",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2025-09-10T18:43:12.204Z"
            },
            "references": [
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://gitlab.gnome.org/GNOME/libxml2/-/commit/677a42645ef22b5a50741bad5facf9d8a8bc6d21"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Stack overflow in libxml2",
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-09-10T18:46:42.383800Z",
                                "id": "CVE-2025-9714",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-09-10T18:46:46.622Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T18:14:19.914Z"
                }
            },
            {
                "x_adpType": "supplier",
                "providerMetadata": {
                    "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
                    "shortName": "siemens-SADP",
                    "dateUpdated": "2026-05-12T12:02:43.668Z"
                },
                "affected": [
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX MX5000",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX MX5000RE",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1400",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1500",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1501",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1510",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1511",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1512",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1524",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX1536",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    },
                    {
                        "vendor": "Siemens",
                        "product": "RUGGEDCOM ROX RX5000",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "V2.17.1",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    }
                ],
                "references": [
                    {
                        "url": "https://cert-portal.siemens.com/productcert/html/ssa-577017.html"
                    }
                ]
            }
        ]
    }
}