CVE-2017-16229
MEDIUM 5.5CVSS 3.0Ox gem stack overflow in sax_parse
In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.
- Published
- 26 Feb 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-wfwm-chj7-w59r
- Sources
- NVDJSONOSV GHSA-wfwm-chj7-w59rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ox_project | oxcpe:2.3:a:ox_project:ox:2.8.1:*:*:*:*:ruby:*:* |
= 2.8.1 | |
| OSV | RubyGems | ox | < 2.8.2 | 2.8.2 |
References
- https://github.com/ohler55/ox/issues/195 · Exploit, Third Party Advisory, WEB
- https://rubygems.org/gems/ox/versions/2.8.1 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-16229 · ADVISORY
- https://github.com/ohler55/ox · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ox/CVE-2017-16229.yml · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 26 Feb 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2018)