CVE Explorer
CVE-2026-57435
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code had already accessed an attribute child node, Nokogiri::XML::Attr#value= could free the underlying native child node while the wrapper remained reachable through the document node cache. A later use of the freed child node or a Ruby GC mark could derefere
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-825","description":"CWE-825: Expired Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-416","description":"CWE-416: Use After Free","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"nokogiri","vendor":"sparklemotion","versions":[{"status":"affected","version":"< 1.19.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":1.7,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-825","description":"CWE-825: Expired Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-416","description":"CWE-416: Use After Free","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-phwj-rprq-35pp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-phwj-rprq-35pp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d02b91e979de59445e21d65f092f59d29157a9acd96fbc35906beccc171d4bcb · sha256:f7f5406502afe87c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.