Buffer overflow in GNOME Libcroco
CVE-2017-7961
The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.020, 80.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNOME Libcroco — versions 0.6.11, 0.6.12
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (andir/nixos-issue-db-example). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.gnome.org/browse/libcroco/commit/ (Patch, Third Party Advisory, Issue Tracking)
- GLSA-201707-13 (vendor-advisory, Third Party Advisory)
- openwall.com/lists/oss-security/2017/04/24/2 (Patch, Mailing List, Third Party Advisory)
- bugzilla.suse.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/ (Exploit, Patch, Third Party Advisory)
- openSUSE-SU-2019:1575 (vendor-advisory)