CVE Vulnerabilities

CVE-2018-20751

NULL Pointer Dereference

Published: Feb 04, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An issue was discovered in crop_page in PoDoFo 0.9.6. For a crafted PDF document, pPage->GetObject()->GetDictionary().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.

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Podofo Podofo_project 0.9.6 (including) 0.9.6 (including)
Libpodofo Ubuntu bionic *
Libpodofo Ubuntu cosmic *
Libpodofo Ubuntu trusty *
Libpodofo Ubuntu trusty/esm *
Libpodofo Ubuntu xenial *

Potential Mitigations

References