CVE-2022-50999 Integer Overflow or Wraparound in libxml2 affects Nokogiri

Not scored Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2022-50999?

CVE-2022-50999 is a vulnerability in nokogiri, published on 25 Aug 2026.

Official description

This CVE ID has been rejected as a duplicate.

Which versions are affected by CVE-2022-50999?

2 open source packages ship an affected version, including nokogiri.

PackageAffectedFixed in
nokogiri RubyGemsAll versions1.13.5
nokogiri RubyGemsAll versions1.13.5

How do I fix CVE-2022-50999?

Upgrade nokogiri to 1.13.5 or later.

Is CVE-2022-50999 being exploited?

There is no known exploitation of CVE-2022-50999 in the wild and no public exploit code.

Sources

Also known as GHSA-cgx6-hpwq-fhv5, GHSA-wf4q-gp79-7pv3.

Is CVE-2022-50999 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free