{"id":"CVE-2017-5854","aliases":["DEBIAN-CVE-2017-5854","EUVD-2017-14931","GHSA-6h7g-9jf3-8cr5","MGASA-2018-0026","SUSE-SU-2018:2481-1","SUSE-SU-2024:3541-1","UBUNTU-CVE-2017-5854","openSUSE-SU-2024:11178-1","openSUSE-SU-2025:15521-1"],"status":"published","title":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service ...","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) 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-08","score":0.01491,"percentile":0.74288,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2017-03-01T15:00:00Z","modified":"2026-10-24T10:30:53Z","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":"Mageia:5","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.6-0.r1855.1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:5","package":"krename","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-6.1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:5","package":"calibre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.78.0-1.1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.3.1"}]}],"bundled":16},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.3.1"}]}],"bundled":16},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"podofo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.2-3.3.1"}]}],"bundled":16},{"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":"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/02/01/podofo-null-pointer-dereference-in-pdfoutputstream-cpp/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/96072","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/02/12","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/01/14","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5854"},{"url":"https://blogs.gentoo.org/ago/2017/02/01/podofo-null-pointer-dereference-in-pdfoutputstream-cpp"},{"url":"https://github.com/advisories/GHSA-6h7g-9jf3-8cr5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5854","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0026.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20234","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/02/02/10","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/02/02/11","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/02/02/12","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/02/02/13","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/02/05/4","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/03/13/10","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/03/13/14","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/03/13/17","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/01/1","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/01/2","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/04/01/3","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182481-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1023067","tags":["report"]},{"url":"https://bugzilla.suse.com/1023069","tags":["report"]},{"url":"https://bugzilla.suse.com/1023070","tags":["report"]},{"url":"https://bugzilla.suse.com/1023071","tags":["report"]},{"url":"https://bugzilla.suse.com/1023380","tags":["report"]},{"url":"https://bugzilla.suse.com/1027778","tags":["report"]},{"url":"https://bugzilla.suse.com/1027782","tags":["report"]},{"url":"https://bugzilla.suse.com/1027787","tags":["report"]},{"url":"https://bugzilla.suse.com/1032017","tags":["report"]},{"url":"https://bugzilla.suse.com/1032018","tags":["report"]},{"url":"https://bugzilla.suse.com/1032019","tags":["report"]},{"url":"https://bugzilla.suse.com/1035534","tags":["report"]},{"url":"https://bugzilla.suse.com/1035596","tags":["report"]},{"url":"https://bugzilla.suse.com/1037739","tags":["report"]},{"url":"https://bugzilla.suse.com/1075772","tags":["report"]},{"url":"https://bugzilla.suse.com/1084894","tags":["report"]},{"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-6840","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-8054","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8787","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5308","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8001","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/1027779","tags":["report"]},{"url":"https://bugzilla.suse.com/1027785","tags":["report"]},{"url":"https://bugzilla.suse.com/1027786","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-6841","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6842","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6845","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://ubuntu.com/security/CVE-2017-5854","tags":["report"]},{"url":"https://marc.info/?l=oss-security\u0026m=148596201002245\u0026w=2","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5854","tags":["report"]},{"url":"","tags":["advisory"]},{"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-2018-11255","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11256","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-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-5309","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5783","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-5854","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:00:00Z","modified":"2024-08-05T15:11:48.859Z","updated_at":"2026-11-02T14:33:12.599234Z"}],"euvd":[{"id":"EUVD-2017-14931","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:00:00Z","modified":"2024-08-05T15:11:48Z","updated_at":"2026-11-03T02:39:13.965943Z"}],"ghsa":[{"id":"GHSA-6h7g-9jf3-8cr5","title":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service ...","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2022-05-17T02:57:04Z","modified":"2025-04-20T03:34:29Z","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.934315Z"}],"nvd":[{"id":"CVE-2017-5854","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:59:01.023Z","modified":"2026-06-17T01:21:19.657Z","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:43.325192Z"}],"osv":[{"id":"CVE-2017-5854","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:59:01.023Z","modified":"2026-10-24T10:30:53.824435307Z","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.029968Z"},{"id":"DEBIAN-CVE-2017-5854","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:59:01.023Z","modified":"2026-09-01T20:03:48.69978928Z","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-5854","description":"base/PdfOutputStream.cpp in PoDoFo 0.9.4 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted file.","status":"published","published":"2017-03-01T15:59:00Z","modified":"2026-04-22T11:28:58.899934Z","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.388065Z"},{"id":"MGASA-2018-0026","title":"Updated podofo packages fix security vulnerability","description":"The podofo package has been updated to fix several security issues.\nThe krename and calibre packages have been rebuilt against the updated\npodofo.\n","status":"published","published":"2018-01-03T10:32:10Z","modified":"2026-04-16T06:22:56.605603201Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"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-2018:2481-1","title":"Security update for podofo","description":"This update for podofo fixes the following issues:\n\n- CVE-2017-5852: The PoDoFo::PdfPage::GetInheritedKeyFromObject function\n  allowed remote attackers to cause a denial of service (infinite loop) via a\n  crafted file (bsc#1023067).\n- CVE-2017-5853: Integer overflow allowed remote attackers to have unspecified\n  impact via a crafted file (bsc#1023069).\n- CVE-2017-5854: Prevent NULL pointer dereference that allowed remote attackers\n  to cause a denial of service via a crafted file (bsc#1023070).\n- CVE-2017-5855: The PoDoFo::PdfParser::ReadXRefSubsection function allowed\n  remote attackers to cause a denial of service (NULL pointer dereference) via a\n  crafted file (bsc#1023071).\n- CVE-2017-5886: Prevent heap-based buffer overflow in the\n  PoDoFo::PdfTokenizer::GetNextToken function that allowed remote attackers to\n  have unspecified impact via a crafted file (bsc#1023380).\n- CVE-2017-6847: The PoDoFo::PdfVariant::DelayedLoad function allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1027778).\n- CVE-2017-6844: Buffer overflow in the PoDoFo::PdfParser::ReadXRefSubsection\n  function allowed remote attackers to have unspecified impact via a crafted file\n  (bsc#1027782).\n- CVE-2017-6840: The ColorChanger::GetColorFromStack function allowed remote\n  attackers to cause a denial of service (invalid read) via a crafted file\n  (bsc#1027787).\n- CVE-2017-7378: The PoDoFo::PdfPainter::ExpandTabs function allowed remote\n  attackers to cause a denial of service (heap-based buffer over-read and\n  application crash) via a crafted PDF document (bsc#1032017).\n- CVE-2017-7379: The PoDoFo::PdfSimpleEncoding::ConvertToEncoding function\n  allowed remote attackers to cause a denial of service (heap-based buffer\n  over-read and application crash) via a crafted PDF document (bsc#1032018).\n- CVE-2017-7380: Prevent NULL pointer dereference that allowed remote attackers\n  to cause a denial of service via a crafted PDF document (bsc#1032019).\n- CVE-2017-7994: The function TextExtractor::ExtractText allowed remote\n  attackers to cause a denial of service (NULL pointer dereference and\n  application crash) via a crafted PDF document (bsc#1035534).\n- CVE-2017-8054: The function PdfPagesTree::GetPageNodeFromArray allowed remote\n  attackers to cause a denial of service (infinite recursion and application\n  crash) via a crafted PDF document (bsc#1035596).\n- CVE-2017-8787: The PoDoFo::PdfXRefStreamParserObject::ReadXRefStreamEntry\n  function allowed remote attackers to cause a denial of service (heap-based\n  buffer over-read) or possibly have unspecified other impact via a crafted PDF\n  file (bsc#1037739).\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-8001: Prevent heap-based buffer over-read vulnerability in\n  UnescapeName() that allowed remote attackers to cause a denial-of-service or\n  possibly unspecified other impact via a crafted pdf file (bsc#1084894).\n","status":"published","published":"2018-08-22T14:58:50Z","modified":"2026-02-04T03:30:56.808291Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"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"}]}}
