{"id":"CVE-2017-6845","aliases":["DEBIAN-CVE-2017-6845","EUVD-2017-15899","GHSA-ffm3-mgfp-9vc6","SUSE-SU-2019:0393-1","SUSE-SU-2024:3541-1","SUSE-SU-2024:3550-1","UBUNTU-CVE-2017-6845","openSUSE-SU-2024:11178-1","openSUSE-SU-2025:15521-1"],"status":"published","title":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers...","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","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-07","score":0.01283,"percentile":0.70251,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2017-03-15T14:00:00Z","modified":"2026-10-24T10:30:27Z","fixes":[{"ecosystem":"Debian:12","package":"libpodofo","fixed_in":["0.9.5-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libpodofo","fixed_in":["0.9.5-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libpodofo","fixed_in":["0.9.5-9"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5-9"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP4","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.6.3"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.21.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.21.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-150300.3.15.1"}]}],"bundled":9},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-150300.3.15.1"}]}],"bundled":9},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-150300.3.15.1"}]}],"bundled":9},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-150300.3.15.1"}]}],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.1ubuntu1","0.9.0-1.2","0.9.0-1.2ubuntu0.1~esm1","0.9.0-1.2ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.3","0.9.3-3","0.9.3-4","0.9.3-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.7-2.2"}]}],"bundled":30},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"podofo-0_10","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.5-1.1"}]}],"bundled":33}],"products":[{"vendor":"podofo_project","product":"podofo"}],"references":[{"url":"https://blogs.gentoo.org/ago/2017/03/02/podofo-null-pointer-dereference-in-podofopdfcoloroperator-pdfcolor-cpp/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6845"},{"url":"https://blogs.gentoo.org/ago/2017/03/02/podofo-null-pointer-dereference-in-podofopdfcoloroperator-pdfcolor-cpp","tags":["report"]},{"url":"https://github.com/advisories/GHSA-ffm3-mgfp-9vc6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6845","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190393-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1027779","tags":["report"]},{"url":"https://bugzilla.suse.com/1032020","tags":["report"]},{"url":"https://bugzilla.suse.com/1032021","tags":["report"]},{"url":"https://bugzilla.suse.com/1032022","tags":["report"]},{"url":"https://bugzilla.suse.com/1075021","tags":["report"]},{"url":"https://bugzilla.suse.com/1075026","tags":["report"]},{"url":"https://bugzilla.suse.com/1075322","tags":["report"]},{"url":"https://bugzilla.suse.com/1075772","tags":["report"]},{"url":"https://bugzilla.suse.com/1076962","tags":["report"]},{"url":"https://bugzilla.suse.com/1096889","tags":["report"]},{"url":"https://bugzilla.suse.com/1096890","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6845","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7381","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7382","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7383","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8054","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11256","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5295","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5296","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5308","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5309","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5783","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243541-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1023072","tags":["report"]},{"url":"https://bugzilla.suse.com/1023190","tags":["report"]},{"url":"https://bugzilla.suse.com/1027776","tags":["report"]},{"url":"https://bugzilla.suse.com/1027785","tags":["report"]},{"url":"https://bugzilla.suse.com/1027786","tags":["report"]},{"url":"https://bugzilla.suse.com/1027787","tags":["report"]},{"url":"https://bugzilla.suse.com/1037000","tags":["report"]},{"url":"https://bugzilla.suse.com/1127855","tags":["report"]},{"url":"https://bugzilla.suse.com/1131544","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8981","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5854","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6840","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6841","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6842","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6849","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8378","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-10723","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9199","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243550-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1084894","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8001","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-6845","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/03/02/6","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6845","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5852","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5853","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5855","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5886","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6844","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6847","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7378","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7379","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7380","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7994","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8787","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11255","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12982","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-14320","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20751","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9687","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12983","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20797","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-6845","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17.697Z","updated_at":"2026-11-02T14:33:16.578111Z"}],"euvd":[{"id":"EUVD-2017-15899","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17Z","updated_at":"2026-11-03T02:39:10.49179Z"}],"ghsa":[{"id":"GHSA-ffm3-mgfp-9vc6","title":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers...","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2022-05-17T02:55:00Z","modified":"2025-04-20T03:34:09Z","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-476"],"updated_at":"2026-11-02T15:01:41.326693Z"}],"nvd":[{"id":"CVE-2017-6845","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:59:01.387Z","modified":"2026-06-17T01:23:12.91Z","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-476"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"CVE-2017-6845","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:59:01.387Z","modified":"2026-10-24T10:30:27.993602763Z","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:06.412595Z"},{"id":"DEBIAN-CVE-2017-6845","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:59:01.387Z","modified":"2026-09-01T20:03:49.401443896Z","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.412243Z"},{"id":"UBUNTU-CVE-2017-6845","description":"The PoDoFo::PdfColor::operator function in PdfColor.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.","status":"published","published":"2017-03-15T14:59:00Z","modified":"2026-04-22T11:30:06.640231Z","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:15.773974Z"},{"id":"openSUSE-SU-2024:11178-1","title":"libpodofo-devel-0.9.7-2.2 on GA media","description":"These are all security issues fixed in the libpodofo-devel-0.9.7-2.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:47:47.956028Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"openSUSE-SU-2025:15521-1","title":"libpodofo-0_10-devel-0.10.5-1.1 on GA media","description":"These are all security issues fixed in the libpodofo-0_10-devel-0.10.5-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-09-04T00:00:00Z","modified":"2026-03-23T04:53:53.268347Z","updated_at":"2026-11-02T16:58:37.810934Z"},{"id":"SUSE-SU-2019:0393-1","title":"Security update for podofo","description":"This update for podofo fixes the following issues:\n\nThese security issues were fixed:\n\n- CVE-2017-6845: The PoDoFo::PdfColor::operator function allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1027779).\n- CVE-2018-5308: Properly validate memcpy arguments in the\n  PdfMemoryOutputStream::Write function to prevent remote attackers from causing\n  a denial-of-service or possibly have unspecified other impact via a crafted pdf\n  file (bsc#1075772)\n- CVE-2018-5295: Prevent integer overflow in the\n  PdfXRefStreamParserObject::ParseStream function that allowed remote attackers\n  to cause a denial-of-service via a crafted pdf file (bsc#1075026).\n- CVE-2017-6845: The PoDoFo::PdfColor::operator function allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1027779).\n- CVE-2018-5309: Prevent integer overflow in the\n  PdfObjectStreamParserObject::ReadObjectsFromStream function that allowed remote\n  attackers to cause a denial-of-service via a crafted pdf file (bsc#1075322).\n- CVE-2018-5296: Prevent uncontrolled memory allocation in the\n  PdfParser::ReadXRefSubsection function that allowed remote attackers to cause a\n  denial-of-service via a crafted pdf file (bsc#1075021).\n- CVE-2017-7381: Prevent NULL pointer dereference that allowed remote attackers\n  to cause a denial of service via a crafted PDF document (bsc#1032020).\n- CVE-2017-7382: Prevent NULL pointer dereference that allowed remote attackers\n  to cause a denial of service via a crafted PDF document (bsc#1032021).\n- CVE-2017-7383: Prevent NULL pointer dereference that allowed remote attackers\n  to cause a denial of service via a crafted PDF document (bsc#1032022).\n- CVE-2018-11256: Prevent NULL pointer dereference that allowed remote\n  attackers to cause a denial of service via a crafted PDF document\n  (bsc#1096889).\n- CVE-2018-5783: Prevent uncontrolled memory allocation in the\n  PoDoFo::PdfVecObjects::Reserve function that allowed remote attackers to cause\n  a denial of service via a crafted pdf file (bsc#1076962).\n\nThese non-security issues were fixed:\n\n- Prevent regression caused by the fix for CVE-2017-8054.\n- Prevent NULL dereferences when 'Kids' array is missing (bsc#1096890)\n- Added to detect cycles and recursions in XRef tables\n","status":"published","published":"2019-02-14T13:46:21Z","modified":"2026-02-04T02:33:24.204759Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2024:3541-1","title":"Security update for podofo","description":"This update for podofo fixes the following issues:\n\n - CVE-2015-8981: Fixed heap overflow in the function ReadXRefSubsection (bsc#1023190)\n - CVE-2017-6840: Fixed invalid memory read in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027787)\n - CVE-2017-6841: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::~TGraphicsStackElement (graphicsstack.h) (bsc#1027786)\n - CVE-2017-6842: Fixed NULL pointer dereference in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027785)\n - CVE-2017-6845: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::SetNonStrokingColorSpace (graphicsstack.h) (bsc#1027779)\n - CVE-2017-6849: Fixed NULL pointer dereference in PoDoFo::PdfColorGray::~PdfColorGray (PdfColor.cpp) (bsc#1027776)\n - CVE-2017-8378: Fixed denial of service (application crash) vectors related to m_offsets.size (PdfParser::ReadObjects func in base/PdfParser.cpp) (bsc#1037000)  \n - CVE-2018-5308: Fixed Undefined behavior  (memcpy with NULL pointer) in PdfMemoryOutputStream::Write (src/base/PdfOutputStream.cpp) (bsc#1075772)\n - CVE-2019-10723: Fixed Memory leak in PdfPagesTreeCache class in doc/PdfPagesTreeCache.cpp (bsc#1131544)\n - CVE-2019-9199: Fixed NULL pointer dereference in function PoDoFo:Impose:PdfTranslator:setSource() in pdftranslator.cpp (bsc#1127855)\n\n - Fixed NULL pointer dereference in PdfInfo::GuessFormat (pdfinfo.cpp) (bsc#1023072)\n","status":"published","published":"2024-10-08T08:33:37Z","modified":"2026-02-04T03:22:38.825984Z","updated_at":"2026-11-02T15:53:55.639015Z"},{"id":"SUSE-SU-2024:3550-1","title":"Security update for podofo","description":"This update for podofo fixes the following issues:\n\n - CVE-2015-8981: Fixed heap overflow in the function ReadXRefSubsection (bsc#1023190)\n - CVE-2017-6840: Fixed invalid memory read in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027787)\n - CVE-2017-6841: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::~TGraphicsStackElement (graphicsstack.h) (bsc#1027786)\n - CVE-2017-6842: Fixed NULL pointer dereference in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027785)\n - CVE-2017-6845: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::SetNonStrokingColorSpace (graphicsstack.h) (bsc#1027779)\n - CVE-2017-6849: Fixed NULL pointer dereference in PoDoFo::PdfColorGray::~PdfColorGray (PdfColor.cpp) (bsc#1027776)\n - CVE-2017-8378: Fixed denial of service (application crash) vectors related to m_offsets.size (PdfParser::ReadObjects func in base/PdfParser.cpp) (bsc#1037000)  \n\n - Fixed NULL pointer dereference in PdfInfo::GuessFormat (pdfinfo.cpp) (bsc#1023072)\n","status":"published","published":"2024-10-08T14:07:52Z","modified":"2026-02-04T03:54:33.100214Z","updated_at":"2026-11-02T15:53:55.639015Z"}]}}
