{"id":"CVE-2018-5309","aliases":["DEBIAN-CVE-2018-5309","EUVD-2018-17088","GHSA-493w-wpw3-cqhw","MGASA-2019-0044","SUSE-SU-2019:0393-1","SUSE-SU-2024:3550-1","UBUNTU-CVE-2018-5309","openSUSE-SU-2024:11178-1","openSUSE-SU-2025:15521-1"],"status":"published","title":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject:...","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf 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-08","score":0.01071,"percentile":0.65098,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2018-01-09T05:00:00Z","modified":"2026-10-24T10:30:54Z","fixes":[{"ecosystem":"Debian:12","package":"libpodofo","fixed_in":["0.9.6+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libpodofo","fixed_in":["0.9.6+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libpodofo","fixed_in":["0.9.6+dfsg-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6+dfsg-3"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-1.mga6"}]}],"bundled":12},{"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 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":"Ubuntu:Pro:18.04:LTS","package":"libpodofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.5-6","0.9.5-8","0.9.5-8build1","0.9.5-9","0.9.5-9ubuntu0.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://bugzilla.redhat.com/show_bug.cgi?id=1532381","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5309"},{"url":"https://github.com/advisories/GHSA-493w-wpw3-cqhw"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5309","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0044.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21511","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/2U7MKKI2OP43FRIS44DJXIJYDWTNAWQ6/","tags":["web"]},{"url":"http://lists.suse.com/pipermail/sle-security-updates/2018-August/004491.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/QYCCO7ZOZI6KUCLH6IZ5XS5LDANULNR4/","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-01/msg00066.html","tags":["web"]},{"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-20243550-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/1084894","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8981","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-2018-8001","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-5309","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5309","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-5854","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"]},{"url":"https://www.suse.com/security/cve/CVE-2019-10723","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-5309","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:00:00Z","modified":"2024-08-05T05:33:43.659Z","updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-17088","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:00:00Z","modified":"2024-08-05T05:33:43Z","updated_at":"2026-11-03T02:40:11.187677Z"}],"ghsa":[{"id":"GHSA-493w-wpw3-cqhw","title":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject:...","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2022-05-14T03:48:14Z","modified":"2023-02-03T05:00:36Z","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-190"],"updated_at":"2026-11-02T14:52:49.509208Z"}],"nvd":[{"id":"CVE-2018-5309","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:29:00.273Z","modified":"2026-06-17T02:00:01.067Z","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-190"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-5309","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:29:00.273Z","modified":"2026-10-24T10:30:54.224034665Z","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:09.442568Z"},{"id":"DEBIAN-CVE-2018-5309","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:29:00.273Z","modified":"2026-10-23T18:03:07.45043003Z","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:30.867575Z"},{"id":"UBUNTU-CVE-2018-5309","description":"In PoDoFo 0.9.5, there is an integer overflow in the PdfObjectStreamParserObject::ReadObjectsFromStream function (base/PdfObjectStreamParserObject.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted pdf file.","status":"published","published":"2018-01-09T05:29:00Z","modified":"2026-04-22T11:59:21.765271Z","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:18.33562Z"},{"id":"MGASA-2019-0044","title":"Updated podofo packages fix security vulnerabilities","description":"The podofo package has been updated to fix several security issues.\n","status":"published","published":"2019-01-23T15:50:09Z","modified":"2026-04-16T06:25:00.206777181Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"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: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"}]}}
