All reports
Medium

libreoffice: Integer underflow in PrinterSetup length

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-5212

Probability of exploitation in the next 30 days: 8.72%

FIRST EPSS · 2026-11-22

Description

Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load printer settings with the document" is enabled, allows remote attackers to cause a denial of service (memory corruption and application crash) or possibly execute arbitrary code via crafted PrinterSetup data in an ODF document.

An integer underflow flaw leading to a heap-based buffer overflow when parsing PrinterSetup data was discovered. By tricking a user into opening a specially crafted document, an attacker could possibly exploit this flaw to execute arbitrary code with the privileges of the user opening the file.