{"answers":{"affected":"1 open source package ship an affected version, including nokogiri.","exploited":"There is no known exploitation of CVE-2026-126064 in the wild and no public exploit code.","exposure":"","fix":"Upgrade nokogiri to 1.19.5 or later.","what":"CVE-2026-126064 is a low-severity vulnerability in sparklemotion nokogiri, published on 10 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-126064 and fix it if it is affected.\n\nWhat it is: CVE-2026-126064 is a low-severity vulnerability in sparklemotion nokogiri, published on 10 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-126064 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nokogiri (RubyGems): affected all versions; fixed in 1.19.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126064/ (Markdown: https://insights.sbomify.com/CVE-2026-126064/index.md)","id":"CVE-2026-126064","markdown":"https://insights.sbomify.com/CVE-2026-126064/index.md","name":"CVE-2026-126064","record":{"aliases":["AZL-113338","DEBIAN-CVE-2026-126064","GHSA-3w22-6jfg-527w","UBUNTU-CVE-2026-126064"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. Replacing the value frees native child nodes while their wrappers remain reachable, and later use of those wrappers can cause an invalid read or process segfault. JRuby is not affected. This issue is fixed in version 1.19.5.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node#[]=` or `#lang=`","id":"CVE-2026-126064","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"OpenObserve: Empty external password allows authentication bypass","id":"CVE-2026-126065"},"nickname":null,"packages":[{"ecosystem":"RubyGems","fixed":["1.19.5"],"introduced":["0"],"last_affected":[],"package":"nokogiri","purl":null,"source":"GHSA-3w22-6jfg-527w"}],"prev":{"headline":"Nokogiri: Mutation XSS through `noscript` content in Nokogiri's HTML5 serializer","id":"CVE-2026-126063"},"products":["nokogiri"],"published":"2026-11-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-10","vendors":["sparklemotion"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-126064/"}