Every CVE Search/ Get API key

CVE-2017-9814

cairo-truetype-subset.c in cairo 1.15.6 and earlier allows remote attackers to cause a denial of...

7.5 HighFix available

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

3.44%Up 1.8 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cairo
Debian:12
before 1.16.0-1
1.16.0-1
cairo
Debian:13
before 1.16.0-1
1.16.0-1
cairo
Debian:14
before 1.16.0-1
1.16.0-1
Cairo_jll
Julia
before 1.16.0+0
1.16.0+0
cairo
Mageia:8
before 1.16.0-6.2.mga8
1.16.0-6.2.mga8
cairo
SUSE:Linux Enterprise Desktop 12 SP3
before 1.15.2-25.3.2
1.15.2-25.3.2
cairo
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 1.15.2-25.3.2
1.15.2-25.3.2
cairo
SUSE:Linux Enterprise Server 12 SP3
before 1.15.2-25.3.2
1.15.2-25.3.2
cairo
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.15.2-25.3.2
1.15.2-25.3.2
cairo
SUSE: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
Affected packages
PackageAffectedFixed
cairo
SUSE: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
cairo
SUSE: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
cairo
SUSE:Linux Enterprise Module for Basesystem 15
before 1.15.10-4.5.1
1.15.10-4.5.1
cairo
SUSE:Linux Enterprise Module for Desktop Applications 15
before 1.15.10-4.5.1
1.15.10-4.5.1
cairo
SUSE:Linux Enterprise Module for Basesystem 15 SP1
before 1.16.0-4.8.1
1.16.0-4.8.1
cairo
SUSE:Linux Enterprise Module for Desktop Applications 15 SP1
before 1.16.0-4.8.1
1.16.0-4.8.1
cairo
Ubuntu: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
cairo
Ubuntu: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
cairo
Ubuntu: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
cairo
Ubuntu:22.04:LTS
before 1.16.0-5ubuntu2.1, plus listed versions
1.16.0-5ubuntu11.16.0-5ubuntu2
1.16.0-5ubuntu2.1
cairo
Ubuntu: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
cairo
Ubuntu: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
cairo
openSUSE:Leap 15.1
before 1.16.0-lp151.5.3.1
1.16.0-lp151.5.3.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 24 moreShow less
MoveEnter Open