CVE-2018-18064
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted...
CVE-2018-18064 is a medium vulnerability (CVSS 6.5) in Cairographics Cairo, published October 8, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.48%, the 73rd percentile. Fixed in Cairo_jll 1.16.0+0.
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
CVE-2018-18064- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
CVE-2018-18064- Updated
- 2026-11-02
EUVDEUVD-2018-9803 No score
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
EUVD-2018-9803- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8wp2-6325-3w3v
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted...
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
GHSA-8wp2-6325-3w3v- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
CVE-2018-18064- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-18064
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
DEBIAN-CVE-2018-18064- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2025-13
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted...
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
JLSEC-2025-13- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-18064
6.5
cairo through 1.15.14 has an out-of-bounds stack-memory write during processing of a crafted document by WebKitGTK+ because of the interaction between cairo-rectangular-scan-converter.c (the generate and render_rows functions) and cairo-image-compositor.c (the _cairo_image_spans_and_zero function).
- Record
UBUNTU-CVE-2018-18064- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cairoDebian:12 |
All versions, plus listed versions 1.16.0-71.17.8-11.17.8-21.17.8-31.18.0-1 Show 8 moreShow less1.18.0-1~hurd.11.18.0-21.18.0-31.18.2-11.18.2-21.18.4-11.18.4-21.18.4-3 |
None known |
cairoDebian:13 |
All versions, plus listed versions 1.18.4-11.18.4-21.18.4-3 |
None known |
cairoDebian:14 |
All versions, plus listed versions 1.18.4-11.18.4-21.18.4-3 |
None known |
Cairo_jllJulia |
before 1.16.0+0 | 1.16.0+0 |
cairoUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-11.14.6-1ubuntu0.1~esm11.14.6-1ubuntu0.1~esm2 |
None known |
cairoUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.14.10-1ubuntu11.15.8-21.15.8-31.15.10-21.15.10-2ubuntu0.11.15.10-2ubuntu0.1+esm1 |
None known |
cairoUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.16.0-41.16.0-4ubuntu11.16.0-4ubuntu1+esm1 |
None known |
cairoUbuntu:22.04:LTS |
All versions, plus listed versions 1.16.0-5ubuntu11.16.0-5ubuntu21.16.0-5ubuntu2.1 |
None known |
cairoUbuntu:24.04:LTS |
All versions, plus listed versions 1.18.0-11.18.0-1ubuntu11.18.0-31.18.0-3build1 |
None known |
cairoUbuntu:25.10 |
All versions, plus listed versions 1.18.4-11.18.4-1build1 |
None known |
cairoUbuntu:26.10 |
All versions, plus listed versions 1.18.4-3 |
None known |
cairoUbuntu:26.04:LTS |
All versions, plus listed versions 1.18.4-1build11.18.4-3 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
gitlab.freedesktop.org/cairo/cairo/issues/341
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2018-18064
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E
github.com/advisories/GHSA-8wp2-6325-3w3v
security-tracker.debian.org/tracker/CVE-2018-18064
ubuntu.com/security/CVE-2018-18064
cve.org/CVERecord?id=CVE-2018-18064