CVE-2017-9814
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of...
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
CVE-2017-9814- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
CVE-2017-9814- Updated
- 2026-11-02
EUVDEUVD-2017-18729 No score
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
EUVD-2017-18729- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8c55-f8rh-4fh4
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of...
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
GHSA-8c55-f8rh-4fh4- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
CVE-2017-9814- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9814
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
DEBIAN-CVE-2017-9814- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSVJLSEC-2025-12
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of...
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
JLSEC-2025-12- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9814
7.5
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call.
- Record
UBUNTU-CVE-2017-9814- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2022-0186 No score
Updated cairo packages fix security vulnerability
cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) because of mishandling of an unexpected malloc(0) call. (CVE-2017-9814)
- Record
MGASA-2022-0186- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1003-1 No score
Security update for cairo
This update for cairo fixes the following issues:
- Fix a memory corruption in pango.
- Revert 'Correctly decode Adobe CMYK JPEGs in PDF export'.
- Add more FreeeType font color conversions to support COLR/CPAL.
- Fix crash when rendering Microsoft's Segoe UI Emoji Regular font.
- Fix memory leaks found by Coverity.
- Fix assertion failure in the freetype backend. (fdo#105746).
- Add cairo-CVE-2017-9814.patch: Replace malloc with _cairo_malloc and check cmap size before allocating (bsc#1049092)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1003-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10671-1 No score
cairo-devel-1.16.0-3.14 on GA media
These are all security issues fixed in the cairo-devel-1.16.0-3.14 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10671-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1195-1 No score
Security update for cairo
This update for cairo fixes the following issues:
- CVE-2017-9814: out-of-bounds read in cairo-truetype-subset.c could lead to denial of service (bsc#1049092).
- Record
SUSE-SU-2018:1195-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1453-1 No score
Security update for cairo
This update for cairo fixes the following issues:
- CVE-2016-9082: Fixed a segfault when using >4GB images since int values were used for pointer operations (bsc#1007255).
- CVE-2017-9814: Replace malloc with _cairo_malloc and check cmap size before allocating to prevent DoS (bsc#1049092).
- CVE-2017-7475: Fix a segfault in get_bitmap_surface due to malformed font (bsc#1036789).
- Record
SUSE-SU-2018:1453-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1873-1 No score
Security update for cairo
This update for cairo fixes the following issues:
The following security vulnerability was addressed:
- CVE-2017-9814: Fixed and out-of-bounds read in cairo-truetype-subset.c by replacing the malloc implementation with _cairo_malloc and checking the size before memory allocation (bsc#1049092)
- Record
SUSE-SU-2018:1873-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1937-1 No score
Security update for cairo
This update for cairo fixes the following issues:
- Fix a memory corruption in pango.
- Revert 'Correctly decode Adobe CMYK JPEGs in PDF export'.
- Add more FreeeType font color conversions to support COLR/CPAL.
- Fix crash when rendering Microsoft's Segoe UI Emoji Regular font.
- Fix memory leaks found by Coverity.
- Fix assertion failure in the freetype backend. (fdo#105746).
- Add cairo-CVE-2017-9814.patch: Replace malloc with _cairo_malloc and check cmap size before allocating (bsc#1049092)
- Record
SUSE-SU-2020:1937-1- Updated
- 2026-11-02
OSVUSN-5407-1 No score
cairo vulnerabilities
Gustavo Grieco, Alberto Garcia, Francisco Oca, Suleman Ali, and others discovered that Cairo incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2016-9082, CVE-2017-9814, CVE-2019-6462)
Stephan Bergmann discovered that Cairo incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2020-35492)
- Record
USN-5407-1- Updated
- 2026-11-02
OSVUSN-8140-1 No score
cairo vulnerabilities
Alberto Garcia, Francisco Oca and Suleman Ali discovered that Cairo did not properly manage memory. An attacker could possibly use this issue to cause Cairo to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2017-9814)
It was discovered that Cairo incorrectly handled certain angle values when drawing arcs. An attacker could possibly use this issue to cause Cairo to crash, resulting in a denial of service. (CVE-2019-6461)
It was discovered that Cairo incorrectly handled certain calculations when drawing arcs. An attacker could possibly use this issue to cause Cairo to consume resources, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2019-6462)
Stephan Bergmann discovered that Cairo incorrectly managed memory during image composition. An attacker could use this issue to cause Cairo to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-35492)
- Record
USN-8140-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cairoDebian:12 |
before 1.16.0-1 | 1.16.0-1 |
cairoDebian:13 |
before 1.16.0-1 | 1.16.0-1 |
cairoDebian:14 |
before 1.16.0-1 | 1.16.0-1 |
Cairo_jllJulia |
before 1.16.0+0 | 1.16.0+0 |
cairoMageia:8 |
before 1.16.0-6.2.mga8 | 1.16.0-6.2.mga8 |
cairoSUSE:Linux Enterprise Desktop 12 SP3 |
before 1.15.2-25.3.2 | 1.15.2-25.3.2 |
cairoSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 1.15.2-25.3.2 | 1.15.2-25.3.2 |
cairoSUSE:Linux Enterprise Server 12 SP3 |
before 1.15.2-25.3.2 | 1.15.2-25.3.2 |
cairoSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 1.15.2-25.3.2 | 1.15.2-25.3.2 |
cairoSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 3 CVEs |
before 1.8.8-2.3.7.1 | 1.8.8-2.3.7.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cairoSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 3 CVEs |
before 1.8.8-2.3.7.1 | 1.8.8-2.3.7.1 |
cairoSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 3 CVEs |
before 1.8.8-2.3.7.1 | 1.8.8-2.3.7.1 |
cairoSUSE:Linux Enterprise Module for Basesystem 15 |
before 1.15.10-4.5.1 | 1.15.10-4.5.1 |
cairoSUSE:Linux Enterprise Module for Desktop Applications 15 |
before 1.15.10-4.5.1 | 1.15.10-4.5.1 |
cairoSUSE:Linux Enterprise Module for Basesystem 15 SP1 |
before 1.16.0-4.8.1 | 1.16.0-4.8.1 |
cairoSUSE:Linux Enterprise Module for Desktop Applications 15 SP1 |
before 1.16.0-4.8.1 | 1.16.0-4.8.1 |
cairoUbuntu:Pro:16.04:LTS |
before 1.14.6-1ubuntu0.1~esm1, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-1 |
1.14.6-1ubuntu0.1~esm1 |
cairoUbuntu:Pro:18.04:LTS |
before 1.15.10-2ubuntu0.1+esm1, plus listed versions 1.14.10-1ubuntu11.15.8-21.15.8-31.15.10-21.15.10-2ubuntu0.1 |
1.15.10-2ubuntu0.1+esm1 |
cairoUbuntu:Pro:20.04:LTS |
before 1.16.0-4ubuntu1+esm1, plus listed versions 1.16.0-41.16.0-4ubuntu1 |
1.16.0-4ubuntu1+esm1 |
cairoUbuntu:22.04:LTS |
before 1.16.0-5ubuntu2.1, plus listed versions 1.16.0-5ubuntu11.16.0-5ubuntu2 |
1.16.0-5ubuntu2.1 |
cairoUbuntu:Pro:16.04:LTS From an advisory covering 4 CVEs |
before 1.14.6-1ubuntu0.1~esm1, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-1 |
1.14.6-1ubuntu0.1~esm1 |
cairoUbuntu:Pro:16.04:LTS |
before 1.14.6-1ubuntu0.1~esm2, plus listed versions 1.14.2-2ubuntu21.14.4-11.14.6-11.14.6-1ubuntu0.1~esm1 |
1.14.6-1ubuntu0.1~esm2 |
cairoopenSUSE:Leap 15.1 |
before 1.16.0-lp151.5.3.1 | 1.16.0-lp151.5.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9814 is a high vulnerability (CVSS 7.5) in Cairographics Cairo, published July 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.44%, the 89th percentile. Fixed in cairo 1.16.0-1.
References
bugs.freedesktop.org/show_bug.cgi?id=101547
security.gentoo.org/glsa/201904-01
lists.opensuse.org/opensuse-security-announce/2020-07/msg00042.html
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2017-9814
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E
Show 24 moreShow less
github.com/advisories/GHSA-8c55-f8rh-4fh4
security-tracker.debian.org/tracker/CVE-2017-9814
advisories.mageia.org/MGASA-2022-0186.html
bugs.mageia.org/show_bug.cgi?id=30412
ubuntu.com/security/notices/USN-5407-1
suse.com/support/update/announcement/2018/suse-su-20181195-1
bugzilla.suse.com/1049092
suse.com/security/cve/CVE-2017-9814
suse.com/support/update/announcement/2018/suse-su-20181453-1
bugzilla.suse.com/1007255
bugzilla.suse.com/1036789
suse.com/security/cve/CVE-2016-9082
suse.com/security/cve/CVE-2017-7475
suse.com/support/update/announcement/2018/suse-su-20181873-1
suse.com/support/update/announcement/2020/suse-su-20201937-1
ubuntu.com/security/CVE-2017-9814
cve.org/CVERecord?id=CVE-2017-9814
ubuntu.com/security/notices/USN-8140-1
ubuntu.com/security/CVE-2016-9082
ubuntu.com/security/CVE-2019-6462
ubuntu.com/security/CVE-2020-35492
ubuntu.com/security/CVE-2019-6461
lists.opensuse.org/archives/list/[email protected]/thread/L2ZFWT4IIM2TWOMRFGKHBQTXHZNQL3TI
suse.com/security/cve/CVE-2006-0528