Buffer overflow in Sparklemotion Nokogiri
CVE-2022-50999
Nokogiri versions before 1.13.5 contain an integer overflow vulnerability in packaged libxml2 buffer handling functions that allows attackers to cause out-of-bounds memory writes. Attackers can exploit this by crafting multi-gigabyte XML files to trigger buffer overflows resulting in information disclosure, data modification, or denial of service.
Vulnerability class: Buffer Overflow
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2022-50999?
- CVE-2022-50999 is a high-severity vulnerability in Sparklemotion Nokogiri, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.6/10. Published 2026-08-25.
- How severe is CVE-2022-50999?
- High severity. CVSS v3 base score is 8.6 out of 10.