CVE-2026-57435: Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Attr#value=` or `#content=`
CSIRTS triage
- What
- Possible Use-After-Free when setting an attribute value via Nokogiri methods.
- Who is affected
- Users of the Nokogiri library in Ruby applications.
- Urgency
- Remediation is high urgency due to the high severity and lack of exploitation status.
- Action
- Update to the latest version of Nokogiri.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch Nokogiri
Get an email when a new Nokogiri advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57435
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-574350.36% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 28% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-57435 | coverage & exploitation status | NVD · CVE.org |
Recent advisories for Nokogiri
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- mediumCVE-2026-57436: Nokogiri: Possible Use-After-Free when setting `Document#root=` to an invalid node typemsrc · 2026-06-09
- mediumCVE-2026-57438: Nokogiri: Possible Use-After-Free in XInclude Processingmsrc · 2026-06-09
- mediumCVE-2026-57437: Nokogiri: Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond doc…msrc · 2026-06-09
- highCVE-2026-57236: Nokogiri: Possible Use-After-Free when `Nokogiri::XML::Document#encoding=` raises an exceptionmsrc · 2026-06-09
- lowCVE-2026-57234: Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-2…msrc · 2026-06-09
- highCVE-2026-57434: Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classesmsrc · 2026-06-09
More from Microsoft Security Response Center
- highCVE-2026-12064: proto-default skips SSH verification2026-07-02
- unknownCVE-2026-14125: Chromium: CVE-2026-14125 Uninitialized Use in ANGLE2026-07-02
- mediumCVE-2026-57987: Microsoft Edge (Chromium-based) Spoofing Vulnerability2026-07-02
- unknownCVE-2026-13775: Chromium: CVE-2026-13775 Use after free in GPU2026-07-02
- unknownCVE-2026-13779: Chromium: CVE-2026-13779 Use after free in Chromoting2026-07-02