{
  "cveId": "CVE-2026-57236",
  "url": "https://patchblox.com/security/cve/CVE-2026-57236",
  "summary": "CVE-2026-57236 is fixed in ruby-nokogiri on 1 platform by DEBIAN-CVE-2026-57236 (version 1.19.4\u002Bdfsg-1), released July 3, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "Nokogiri: Possible Use-After-Free when \u0060Nokogiri::XML::Document#encoding=\u0060 raises an exception",
  "description": "Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a null byte) raises an exception, but only after freeing the document\u0027s current encoding string without replacing it. The document is left referencing freed memory, so the next call to Document#encoding reads invalid memory, which can cause a segfault or leak freed bytes into a Ruby String. Affects the CRuby (libxml2) implementation only; JRuby is not affected. This vulnerability is fixed in 1.19.4.",
  "published": "2026-06-25T15:16:40Z",
  "severity": "Important",
  "cvss": 8.2,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
  "cwe": "Use After Free",
  "epss": 0.00426,
  "epssPercentile": 0.37145,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57236",
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-nokogiri",
      "release": "Debian 14",
      "fixedVersion": "1.19.4\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2026-57236",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-57236",
      "released": "2026-07-03T14:54:39Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}