{"id":"CVE-2025-71406","aliases":["GHSA-mrxw-mxhj-p664"],"url":"https://o3.security/vulnerability/CVE-2025-71406","summary":"Nokogiri before 1.18.4 Use-After-Free via libxslt","details":"## Summary\n\nNokogiri v1.18.4 upgrades its dependency libxslt to [v1.1.43](https://gitlab.gnome.org/GNOME/libxslt/-/releases/v1.1.43).\n\nlibxslt v1.1.43 resolves:\n\n- CVE-2025-24855: Fix use-after-free of XPath context node\n- CVE-2024-55549: Fix UAF related to excluded namespaces\n\n## Impact\n\n### CVE-2025-24855\n\n- \"Use-after-free due to xsltEvalXPathStringNs leaking xpathCtxt->node\"\n- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H\n- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/128\n- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2025-24855\n\n### CVE-2024-55549\n\n- \"Use-after-free related to excluded result prefixes\"\n- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H\n- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/127\n- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2024-55549","published":"2026-08-25T15:15:58.585Z","modified":"2026-08-30T03:30:43.778290203Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"nokogiri","fixedVersion":"1.18.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71406.json"},{"type":"ADVISORY","url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-mrxw-mxhj-p664"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71406"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nokogiri-before-use-after-free-via-libxslt"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55549"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24855"},{"type":"PACKAGE","url":"https://github.com/sparklemotion/nokogiri"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/libxslt/-/issues/127"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/libxslt/-/issues/128"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-30T03:30:43.778290203Z"}}