{"id":"UBUNTU-CVE-2018-20751","details":"An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage-\u003eGetObject()-\u003eGetDictionary().AddKey(PdfName(\"MediaBox\"),var) can be problematic due to the function GetObject() being called for the pPage NULL pointer object. The value of pPage at this point is 0x0, which causes a NULL pointer dereference.","modified":"2025-09-08T16:45:07Z","published":"2019-02-04T19:29:00Z","upstream":["CVE-2018-20751"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20751"},{"type":"REPORT","url":"https://sourceforge.net/p/podofo/tickets/33/"},{"type":"REPORT","url":"https://sourceforge.net/p/podofo/code/1954"},{"type":"REPORT","url":"https://research.loginsoft.com/bugs/null-pointer-dereference-vulnerability-in-crop_page-podofo-0-9-6/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20751"}],"affected":[{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libpodofo@0.9.0-1.2ubuntu0.1~esm3?arch=source&distro=esm-infra-legacy/trusty"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-dev","binary_version":"0.9.0-1.2ubuntu0.1~esm3"},{"binary_name":"libpodofo-utils","binary_version":"0.9.0-1.2ubuntu0.1~esm3"},{"binary_name":"libpodofo0.9.0","binary_version":"0.9.0-1.2ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20751.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libpodofo@0.9.3-4ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-dev","binary_version":"0.9.3-4ubuntu0.1~esm1"},{"binary_name":"libpodofo-utils","binary_version":"0.9.3-4ubuntu0.1~esm1"},{"binary_name":"libpodofo0.9.3","binary_version":"0.9.3-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20751.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libpodofo@0.9.5-9ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-dev","binary_version":"0.9.5-9ubuntu0.1~esm1"},{"binary_name":"libpodofo-utils","binary_version":"0.9.5-9ubuntu0.1~esm1"},{"binary_name":"libpodofo0.9.5","binary_version":"0.9.5-9ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20751.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}