# CVE-2022-50999

## Summary

- **CVE ID:** CVE-2022-50999
- **Severity:** HIGH
- **CVSS Score:** 8.8 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N)
- **CWE:** CWE-119
- **Published:** Aug 25, 2026
- **Last Modified:** Sep 8, 2026

## Description

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.

## Affected Products

- sparklemotion — nokogiri (0)
- sparklemotion — nokogiri (1.13.5)

## References

- [CNA](https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-cgx6-hpwq-fhv5)
- [CNA](https://github.com/sparklemotion/nokogiri/commit/2554a24)
- [CNA](https://www.vulncheck.com/advisories/nokogiri-before-integer-overflow-via-libxml2)
- [CNA](https://github.com/GNOME/libxml2/commit/2554a24)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.30%
- **EPSS Percentile:** 22.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._