{"id":"CVE-2017-9865","aliases":["DEBIAN-CVE-2017-9865","DLA-1074-1","DSA-4079-1","EUVD-2017-18775","GHSA-jjgx-wvcc-8xv3","MGASA-2017-0276","MGASA-2017-0329","SUSE-SU-2018:1662-1","UBUNTU-CVE-2017-9865","USN-4042-1"],"status":"published","title":"The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers...","description":"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.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01677,"percentile":0.77042,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-06-25T00:00:00Z","modified":"2026-09-01T20:02:42Z","fixes":[{"ecosystem":"Debian:12","package":"poppler","fixed_in":["0.57.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"poppler","fixed_in":["0.57.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"poppler","fixed_in":["0.57.0-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"poppler","fixed_in":["0.41.0-0ubuntu1.14"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.57.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.57.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.57.0-2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.4-6+deb7u2"}]}],"versions":["0.18.4-6","0.18.4-6+deb7u1"],"bundled":5},{"source":"osv","ecosystem":"Debian:8","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.5-2+deb8u2"}]}],"versions":["0.26.5-2","0.26.5-2+deb8u1","0.26.5-2+deb8u1~bpo70+1"],"bundled":13},{"source":"osv","ecosystem":"Debian:9","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.48.0-2+deb9u1"}]}],"versions":["0.48.0-2"],"bundled":13},{"source":"osv","ecosystem":"Mageia:5","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26.5-2.3.mga5"}]}],"bundled":7},{"source":"osv","ecosystem":"Mageia:6","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.52.0-3.1.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"poppler-qt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"poppler-qt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"poppler-qt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"poppler-qt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.43.0-16.15.1"}]}],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.0-0ubuntu1.14"}]}],"versions":["0.33.0-0ubuntu3","0.37.0-0ubuntu1","0.38.0-0ubuntu1","0.41.0-0ubuntu1","0.41.0-0ubuntu1.1","0.41.0-0ubuntu1.2","0.41.0-0ubuntu1.3","0.41.0-0ubuntu1.4","0.41.0-0ubuntu1.5","0.41.0-0ubuntu1.6","0.41.0-0ubuntu1.7","0.41.0-0ubuntu1.8","0.41.0-0ubuntu1.9","0.41.0-0ubuntu1.10","0.41.0-0ubuntu1.11","0.41.0-0ubuntu1.12","0.41.0-0ubuntu1.13"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.0-0ubuntu1.14"}]}],"versions":["0.33.0-0ubuntu3","0.37.0-0ubuntu1","0.38.0-0ubuntu1","0.41.0-0ubuntu1","0.41.0-0ubuntu1.1","0.41.0-0ubuntu1.2","0.41.0-0ubuntu1.3","0.41.0-0ubuntu1.4","0.41.0-0ubuntu1.5","0.41.0-0ubuntu1.6","0.41.0-0ubuntu1.7","0.41.0-0ubuntu1.8","0.41.0-0ubuntu1.9","0.41.0-0ubuntu1.10","0.41.0-0ubuntu1.11","0.41.0-0ubuntu1.12","0.41.0-0ubuntu1.13"],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.62.0-2ubuntu2.9"}]}],"versions":["0.57.0-2ubuntu4","0.57.0-2ubuntu5","0.62.0-1ubuntu1","0.62.0-2ubuntu1","0.62.0-2ubuntu2","0.62.0-2ubuntu2.1","0.62.0-2ubuntu2.2","0.62.0-2ubuntu2.4","0.62.0-2ubuntu2.5","0.62.0-2ubuntu2.6","0.62.0-2ubuntu2.7","0.62.0-2ubuntu2.8"],"bundled":12}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"freedesktop","product":"poppler"}],"references":[{"url":"http://somevulnsofadlab.blogspot.com/2017/06/popplerstack-buffer-overflow-in.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=100774","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://www.debian.org/security/2018/dsa-4079","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/201801-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4042-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9865"},{"url":"https://usn.ubuntu.com/4042-1"},{"url":"https://github.com/advisories/GHSA-jjgx-wvcc-8xv3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9865","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0276.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21038","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/MPWSH7JKKVEIEQEEILCRHTF7HL7BSYW4/","tags":["web"]},{"url":"https://www.ubuntu.com/usn/usn-3350-1/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/7G2XFEFF6S2H4DRDPUXBUWPEEDGE37EG/","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2017-0329.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21516","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181662-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1045939","tags":["report"]},{"url":"https://bugzilla.suse.com/1059066","tags":["report"]},{"url":"https://bugzilla.suse.com/1059101","tags":["report"]},{"url":"https://bugzilla.suse.com/1059155","tags":["report"]},{"url":"https://bugzilla.suse.com/1060220","tags":["report"]},{"url":"https://bugzilla.suse.com/1061092","tags":["report"]},{"url":"https://bugzilla.suse.com/1061263","tags":["report"]},{"url":"https://bugzilla.suse.com/1061264","tags":["report"]},{"url":"https://bugzilla.suse.com/1061265","tags":["report"]},{"url":"https://bugzilla.suse.com/1064593","tags":["report"]},{"url":"https://bugzilla.suse.com/1074453","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000456","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14517","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14518","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14520","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14617","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14928","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14975","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14976","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14977","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15565","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9865","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-9865","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4042-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9865","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-18897","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20662","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-9200","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-9631","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-9903","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10018","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10019","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10021","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10023","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10872","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-10873","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12293","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-9865","description":"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.","status":"published","published":"2017-06-25T13:00:00Z","modified":"2024-08-05T17:18:02.236Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2017-18775","description":"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.","status":"published","published":"2017-06-25T13:00:00Z","modified":"2024-08-05T17:18:02Z","updated_at":"2026-11-03T02:23:26.706423Z"}],"ghsa":[{"id":"GHSA-jjgx-wvcc-8xv3","title":"The function GfxImageColorMap::getGray in GfxState.cc in Poppler 0.54.0 allows remote attackers...","description":"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.","status":"published","published":"2022-05-13T01:48:12Z","modified":"2025-04-20T03:40:32Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:01:48.455381Z"}],"nvd":[{"id":"CVE-2017-9865","description":"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.","status":"published","published":"2017-06-25T13:29:00.18Z","modified":"2026-06-17T01:29:05.07Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:51.893212Z"}],"osv":[{"id":"CVE-2017-9865","description":"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.","status":"published","published":"2017-06-25T13:29:00.18Z","modified":"2026-04-16T06:17:29.699709968Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:07.192756Z"},{"id":"DEBIAN-CVE-2017-9865","description":"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.","status":"published","published":"2017-06-25T13:29:00.18Z","modified":"2026-09-01T20:02:42.679765597Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-9865","description":"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.","status":"published","published":"2017-06-25T00:00:00Z","modified":"2026-04-22T11:38:19.861543Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"DLA-1074-1","title":"poppler - security update","status":"published","published":"2017-08-29T00:00:00Z","modified":"2026-03-09T01:01:52.353361Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4079-1","title":"poppler - security update","status":"published","published":"2018-01-07T00:00:00Z","modified":"2026-03-09T01:20:36.054836Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0276","title":"Updated poppler packages fix security vulnerabilities","description":"Jiaqi Peng discovered that the poppler pdfunite tool incorrectly parsed\ncertain malformed PDF documents. If a user or automated system were tricked\ninto opening a crafted PDF file, an attacker could cause poppler to crash,\nresulting in a denial of service (CVE-2017-7511).\n\nIt was discovered that the poppler pdfunite tool incorrectly parsed certain\nmalformed PDF documents. If a user or automated system were tricked into\nopening a crafted PDF file, an attacker could cause poppler to hang,\nresulting in a denial of service (CVE-2017-7515).\n\nIt was discovered that poppler incorrectly handled memory when processing\nPDF documents. If a user or automated system were tricked into opening a\ncrafted PDF file, an attacker could cause poppler to consume resources,\nresulting in a denial of service (CVE-2017-9406, CVE-2017-9408).\n\nAlberto Garcia, Francisco Oca, and Suleman Ali discovered that the poppler\npdftocairo tool incorrectly parsed certain malformed PDF documents. If a\nuser or automated system were tricked into opening a crafted PDF file, an\nattacker could cause poppler to crash, resulting in a denial of service\n(CVE-2017-9775).\n\nInteger overflow leading to Heap buffer overflow in JBIG2Stream.cc in\npdftocairo in Poppler allows attackers to cause a denial of service\n(application crash) or possibly have unspecified other impact via a crafted\nPDF document (CVE-2017-9776).\n\nThe function GfxImageColorMap::getGray in GfxState.cc in Poppler allows\nattackers to cause a denial of service (stack-based buffer over-read and\napplication crash) via a crafted PDF document, related to missing color-map\nvalidation in ImageOutputDev.cc (CVE-2017-9865).\n","status":"published","published":"2017-08-17T08:02:00Z","modified":"2026-04-16T06:23:07.086729138Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"MGASA-2017-0329","title":"Updated poppler packages fix security vulnerabilities","description":"Integer overflow leading to Heap buffer overflow in JBIG2Stream.cc in\npdftocairo in Poppler allows attackers to cause a denial of service\n(application crash) or possibly have unspecified other impact via a\ncrafted PDF document (CVE-2017-9776).\n\nThe function GfxImageColorMap::getGray in GfxState.cc in Poppler allows\nattackers to cause a denial of service (stack-based buffer over-read and\napplication crash) via a crafted PDF document, related to missing\ncolor-map validation in ImageOutputDev.cc (CVE-2017-9865).\n","status":"published","published":"2017-09-03T15:11:21Z","modified":"2026-04-16T06:26:30.844752076Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2018:1662-1","title":"Security update for poppler","description":"This update for poppler fixes the following issues:\n\nThese security issues were fixed:\n\n- CVE-2017-14517: Prevent NULL Pointer dereference in the XRef::parseEntry()\n  function via a crafted PDF document (bsc#1059066).\n- CVE-2017-9865: Fixed a stack-based buffer overflow vulnerability\n  in GfxState.cc that would have allowed attackers to facilitate\n  a denial-of-service attack via specially crafted PDF\n  documents. (bsc#1045939)\n- CVE-2017-14518: Remedy a floating point exception in\n  isImageInterpolationRequired() that could have been exploited using a\n  specially crafted PDF document. (bsc#1059101)\n- CVE-2017-14520: Remedy a floating point exception in\n  Splash::scaleImageYuXd() that could have been exploited using a specially\n  crafted PDF document. (bsc#1059155)\n- CVE-2017-14617: Fixed a floating point exception in Stream.cc,\n  which may lead to a potential attack when handling malicious PDF\n  files. (bsc#1060220)\n- CVE-2017-14928: Fixed a NULL Pointer dereference in\n  AnnotRichMedia::Configuration::Configuration() in Annot.cc, which may\n  lead to a potential attack when handling malicious PDF\n  files. (bsc#1061092)\n- CVE-2017-14975: Fixed a NULL pointer dereference vulnerability,\n  that existed because a data structure in FoFiType1C.cc was not\n  initialized, which allowed an attacker to launch a denial of service\n  attack. (bsc#1061263)\n- CVE-2017-14976: Fixed a heap-based buffer over-read vulnerability in\n  FoFiType1C.cc that occurred when an out-of-bounds font dictionary index\n  was encountered, which allowed an attacker to launch a denial of service\n  attack. (bsc#1061264)\n- CVE-2017-14977: Fixed a NULL pointer dereference vulnerability in the\n  FoFiTrueType::getCFFBlock() function in FoFiTrueType.cc that occurred\n  due to lack of validation of a table pointer, which allows an attacker\n  to launch a denial of service attack. (bsc#1061265)\n- CVE-2017-15565: Prevent NULL Pointer dereference in the\n  GfxImageColorMap::getGrayLine() function via a crafted PDF document\n  (bsc#1064593).\n- CVE-2017-1000456: Validate boundaries in TextPool::addWord to prevent\n  overflows in subsequent calculations (bsc#1074453).\n","status":"published","published":"2018-06-12T13:45:38Z","modified":"2026-02-04T03:07:45.22685Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"USN-4042-1","title":"poppler vulnerabilities","description":"It was discovered that poppler incorrectly handled certain files. If a user\nor automated system were tricked into opening a crafted PDF file, an\nattacker could cause a denial of service, or possibly execute arbitrary\ncode\n","status":"published","published":"2019-06-27T13:29:23Z","modified":"2026-04-22T09:57:42.532685Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
