Bug 1278820 (CVE-2015-5212) - CVE-2015-5212 libreoffice: Integer underflow in PrinterSetup length
Summary: CVE-2015-5212 libreoffice: Integer underflow in PrinterSetup length
Alias: CVE-2015-5212
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1278821 1285818 1285819 1285820 1285821
Blocks: 1278830
TreeView+ depends on / blocked
Reported: 2015-11-06 13:44 UTC by Adam Mariš
Modified: 2021-02-17 04:44 UTC (History)
6 users (show)

Fixed In Version: libreoffice 4.4.5, libreoffice 5.0.0, openoffice 4.1.1
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Last Closed: 2015-12-14 06:20:40 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2619 0 normal SHIPPED_LIVE Moderate: libreoffice security update 2015-12-14 10:50:11 UTC

Description Adam Mariš 2015-11-06 13:44:04 UTC
It was found that crafted ODF document can be used to create a buffer that is too small for the amount of data loaded into it, allowing an attacker to cause denial of service (memory corruption and application crash) and possible execution of arbitrary code.

Products affected are LibreOffice < 4.4.5 and OpenOffice <= 4.1.1.

External reference:


Comment 1 Adam Mariš 2015-11-06 13:44:25 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 1278821]

Comment 6 errata-xmlrpc 2015-12-14 05:50:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2015:2619 https://rhn.redhat.com/errata/RHSA-2015-2619.html

Note You need to log in before you can comment on or make changes to this bug.