CVE-2017-9865
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers...
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- 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
5.5
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
CVE-2017-9865- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/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-125
- Updated
- 2026-11-02
CVE List No score
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
CVE-2017-9865- Updated
- 2026-11-02
EUVDEUVD-2017-18775 No score
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
EUVD-2017-18775- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jjgx-wvcc-8xv3
5.5
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers...
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
GHSA-jjgx-wvcc-8xv3- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
CVE-2017-9865- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9865
5.5
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
DEBIAN-CVE-2017-9865- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-9865
5.5
The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc.
- Record
UBUNTU-CVE-2017-9865- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0276 No score
Updated poppler packages fix security vulnerabilities
Jiaqi Peng discovered that the poppler pdfunite tool incorrectly parsed certain malformed PDF documents. If a user or automated system were tricked into opening a crafted PDF file, an attacker could cause poppler to crash, resulting in a denial of service (CVE-2017-7511).
It was discovered that the poppler pdfunite tool incorrectly parsed certain malformed PDF documents. If a user or automated system were tricked into opening a crafted PDF file, an attacker could cause poppler to hang, resulting in a denial of service (CVE-2017-7515).
It was discovered that poppler incorrectly handled memory when processing PDF documents. If a user or automated system were tricked into opening a crafted PDF file, an attacker could cause poppler to consume resources, resulting in a denial of service (CVE-2017-9406, CVE-2017-9408).
Alberto Garcia, Francisco Oca, and Suleman Ali discovered that the poppler pdftocairo tool incorrectly parsed certain malformed PDF documents. If a user or automated system were tricked into opening a crafted PDF file, an attacker could cause poppler to crash, resulting in a denial of service (CVE-2017-9775).
Integer overflow leading to Heap buffer overflow in JBIG2Stream.cc in pdftocairo in Poppler allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document (CVE-2017-9776).
The function GfxImageColorMap::getGray in GfxState.cc in Poppler allows attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc (CVE-2017-9865).
- Record
MGASA-2017-0276- Updated
- 2026-11-02
OSVMGASA-2017-0329 No score
Updated poppler packages fix security vulnerabilities
Integer overflow leading to Heap buffer overflow in JBIG2Stream.cc in pdftocairo in Poppler allows attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document (CVE-2017-9776).
The function GfxImageColorMap::getGray in GfxState.cc in Poppler allows attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted PDF document, related to missing color-map validation in ImageOutputDev.cc (CVE-2017-9865).
- Record
MGASA-2017-0329- Updated
- 2026-11-02
OSVSUSE-SU-2018:1662-1 No score
Security update for poppler
This update for poppler fixes the following issues:
These security issues were fixed:
- CVE-2017-14517: Prevent NULL Pointer dereference in the XRef::parseEntry() function via a crafted PDF document (bsc#1059066).
- CVE-2017-9865: Fixed a stack-based buffer overflow vulnerability in GfxState.cc that would have allowed attackers to facilitate a denial-of-service attack via specially crafted PDF documents. (bsc#1045939)
- CVE-2017-14518: Remedy a floating point exception in isImageInterpolationRequired() that could have been exploited using a specially crafted PDF document. (bsc#1059101)
- CVE-2017-14520: Remedy a floating point exception in Splash::scaleImageYuXd() that could have been exploited using a specially crafted PDF document. (bsc#1059155)
- CVE-2017-14617: Fixed a floating point exception in Stream.cc, which may lead to a potential attack when handling malicious PDF files. (bsc#1060220)
- CVE-2017-14928: Fixed a NULL Pointer dereference in AnnotRichMedia::Configuration::Configuration() in Annot.cc, which may lead to a potential attack when handling malicious PDF files. (bsc#1061092)
- CVE-2017-14975: Fixed a NULL pointer dereference vulnerability, that existed because a data structure in FoFiType1C.cc was not initialized, which allowed an attacker to launch a denial of service attack. (bsc#1061263)
- CVE-2017-14976: Fixed a heap-based buffer over-read vulnerability in FoFiType1C.cc that occurred when an out-of-bounds font dictionary index was encountered, which allowed an attacker to launch a denial of service attack. (bsc#1061264)
- CVE-2017-14977: Fixed a NULL pointer dereference vulnerability in the FoFiTrueType::getCFFBlock() function in FoFiTrueType.cc that occurred due to lack of validation of a table pointer, which allows an attacker to launch a denial of service attack. (bsc#1061265)
- CVE-2017-15565: Prevent NULL Pointer dereference in the GfxImageColorMap::getGrayLine() function via a crafted PDF document (bsc#1064593).
- CVE-2017-1000456: Validate boundaries in TextPool::addWord to prevent overflows in subsequent calculations (bsc#1074453).
- Record
SUSE-SU-2018:1662-1- Updated
- 2026-11-02
OSVUSN-4042-1 No score
poppler vulnerabilities
It was discovered that poppler incorrectly handled certain files. If a user or automated system were tricked into opening a crafted PDF file, an attacker could cause a denial of service, or possibly execute arbitrary code
- Record
USN-4042-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
popplerDebian:12 |
before 0.57.0-2 | 0.57.0-2 |
popplerDebian:13 |
before 0.57.0-2 | 0.57.0-2 |
popplerDebian:14 |
before 0.57.0-2 | 0.57.0-2 |
popplerDebian:7 |
before 0.18.4-6+deb7u2, plus listed versions 0.18.4-60.18.4-6+deb7u1 |
0.18.4-6+deb7u2 |
popplerDebian:8 |
before 0.26.5-2+deb8u2, plus listed versions 0.26.5-20.26.5-2+deb8u10.26.5-2+deb8u1~bpo70+1 |
0.26.5-2+deb8u2 |
popplerDebian:9 |
before 0.48.0-2+deb9u1, plus listed versions 0.48.0-2 |
0.48.0-2+deb9u1 |
popplerMageia:5 |
before 0.26.5-2.3.mga5 | 0.26.5-2.3.mga5 |
popplerMageia:6 |
before 0.52.0-3.1.mga6 | 0.52.0-3.1.mga6 |
popplerSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
poppler-qtSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
popplerSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
poppler-qtSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
popplerSUSE:Linux Enterprise Server 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
poppler-qtSUSE:Linux Enterprise Server 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
popplerSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
poppler-qtSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 0.43.0-16.15.1 | 0.43.0-16.15.1 |
popplerUbuntu:16.04:LTS |
before 0.41.0-0ubuntu1.14, plus listed versions 0.33.0-0ubuntu30.37.0-0ubuntu10.38.0-0ubuntu10.41.0-0ubuntu10.41.0-0ubuntu1.1 Show 12 moreShow less0.41.0-0ubuntu1.20.41.0-0ubuntu1.30.41.0-0ubuntu1.40.41.0-0ubuntu1.50.41.0-0ubuntu1.60.41.0-0ubuntu1.70.41.0-0ubuntu1.80.41.0-0ubuntu1.90.41.0-0ubuntu1.100.41.0-0ubuntu1.110.41.0-0ubuntu1.120.41.0-0ubuntu1.13 |
0.41.0-0ubuntu1.14 |
popplerUbuntu:18.04:LTS |
before 0.62.0-2ubuntu2.9, plus listed versions 0.57.0-2ubuntu40.57.0-2ubuntu50.62.0-1ubuntu10.62.0-2ubuntu10.62.0-2ubuntu2 Show 7 moreShow less0.62.0-2ubuntu2.10.62.0-2ubuntu2.20.62.0-2ubuntu2.40.62.0-2ubuntu2.50.62.0-2ubuntu2.60.62.0-2ubuntu2.70.62.0-2ubuntu2.8 |
0.62.0-2ubuntu2.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-9865 is a medium vulnerability (CVSS 5.5) in Freedesktop Poppler, published June 25, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.68%, the 76th percentile. Fixed in poppler 0.57.0-2.
References
somevulnsofadlab.blogspot.com/2017/06/popplerstack-buffer-overflow-in.html
bugs.freedesktop.org/show_bug.cgi?id=100774
debian.org/security/2018/dsa-4079
security.gentoo.org/glsa/201801-17
usn.ubuntu.com/4042-1
nvd.nist.gov/vuln/detail/CVE-2017-9865
Show 47 moreShow less
github.com/advisories/GHSA-jjgx-wvcc-8xv3
security-tracker.debian.org/tracker/CVE-2017-9865
advisories.mageia.org/MGASA-2017-0276.html
bugs.mageia.org/show_bug.cgi?id=21038
lists.fedoraproject.org/archives/list/[email protected]/thread/MPWSH7JKKVEIEQEEILCRHTF7HL7BSYW4
ubuntu.com/usn/usn-3350-1
lists.fedoraproject.org/archives/list/[email protected]/thread/7G2XFEFF6S2H4DRDPUXBUWPEEDGE37EG
advisories.mageia.org/MGASA-2017-0329.html
bugs.mageia.org/show_bug.cgi?id=21516
suse.com/support/update/announcement/2018/suse-su-20181662-1
bugzilla.suse.com/1045939
bugzilla.suse.com/1059066
bugzilla.suse.com/1059101
bugzilla.suse.com/1059155
bugzilla.suse.com/1060220
bugzilla.suse.com/1061092
bugzilla.suse.com/1061263
bugzilla.suse.com/1061264
bugzilla.suse.com/1061265
bugzilla.suse.com/1064593
bugzilla.suse.com/1074453
suse.com/security/cve/CVE-2017-1000456
suse.com/security/cve/CVE-2017-14517
suse.com/security/cve/CVE-2017-14518
suse.com/security/cve/CVE-2017-14520
suse.com/security/cve/CVE-2017-14617
suse.com/security/cve/CVE-2017-14928
suse.com/security/cve/CVE-2017-14975
suse.com/security/cve/CVE-2017-14976
suse.com/security/cve/CVE-2017-14977
suse.com/security/cve/CVE-2017-15565
suse.com/security/cve/CVE-2017-9865
ubuntu.com/security/CVE-2017-9865
ubuntu.com/security/notices/USN-4042-1
cve.org/CVERecord?id=CVE-2017-9865
ubuntu.com/security/CVE-2018-18897
ubuntu.com/security/CVE-2018-20662
ubuntu.com/security/CVE-2019-9200
ubuntu.com/security/CVE-2019-9631
ubuntu.com/security/CVE-2019-9903
ubuntu.com/security/CVE-2019-10018
ubuntu.com/security/CVE-2019-10019
ubuntu.com/security/CVE-2019-10021
ubuntu.com/security/CVE-2019-10023
ubuntu.com/security/CVE-2019-10872
ubuntu.com/security/CVE-2019-10873
ubuntu.com/security/CVE-2019-12293