CVE-2017-5029
HIGH 8.8CVSS 3.1Nokogiri implementation of libxslt lacks integer overflow checks
The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Blink in Google Chrome prior to 57.0.2987.98 for Mac, Windows, and Linux and 57.0.2987.108 for Android, lacked a check for integer overflow during a size calculation, which allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page.
- Published
- 24 Apr 2017
- Last modified
- 17 Jun 2026
- Assigned by
- chrome-cve-admin@google.com
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-pf6m-fxpq-fg8v
- Sources
- NVDJSONOSV GHSA-pf6m-fxpq-fg8vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chromecpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* |
<= 57.0.2987.75 | ||
| NVD | chromecpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* |
<= 57.0.2987.100 | ||
| NVD | xmlsoft | libxsltcpe:2.3:a:xmlsoft:libxslt:1.1.29:*:*:*:*:*:*:* |
= 1.1.29 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| OSV | RubyGems | nokogiri | < 1.7.2 | 1.7.2 |
References
- http://rhn.redhat.com/errata/RHSA-2017-0499.html
- http://www.debian.org/security/2017/dsa-3810
- http://www.securityfocus.com/bid/96767
- http://www.securitytracker.com/id/1038157
- https://chromereleases.googleblog.com/2017/03/stable-channel-update-for-desktop.html
- https://crbug.com/676623
- https://git.gnome.org/browse/libxslt/commit/?id=08ab2774b870de1c7b5a48693df75e8154addae5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-5029 · ADVISORY
- https://github.com/sparklemotion/nokogiri/issues/1634 · WEB
- https://github.com/advisories/GHSA-pf6m-fxpq-fg8v · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-5029.yml · WEB
- https://github.com/sparklemotion/nokogiri · PACKAGE
- https://ubuntu.com/security/CVE-2017-5029 · WEB
- https://ubuntu.com/security/notices/USN-3271-1 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 24 Apr 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jul 2018)