// For flags

CVE-2007-5746

openoffice.org: EMF files parsing EMR_BITBLT record heap overflows

Severity Score

8.4
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Integer overflow in OpenOffice.org before 2.4 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an EMF file with a crafted EMR_STRETCHBLT record, which triggers a heap-based buffer overflow.

Un desbordamiento de enteros en OpenOffice.org versiones anteriores a 2.4, permite a los atacantes remotos causar una denegación de servicio (bloqueo) y posiblemente ejecutar código arbitrario por medio de un archivo EMF con un registro EMR_STRETCHBLT especialmente diseñado, que desencadena un desbordamiento de búfer en la región heap de la memoria.

Remote exploitation of an integer overflow vulnerability in OpenOffice, as included in various vendors' operating system distributions, allows attackers to execute arbitrary code with the privileges of the logged in user. The vulnerability exists within the code responsible for parsing the EMR_STRETCHBLT record in an EMF file. This code reads in two 32-bit integers from the file, and then uses them in an arithmetic operation that calculates the number of bytes to allocate for a dynamic buffer. This calculation can overflow, resulting in an insufficiently sized buffer being allocated. Subsequently, this buffer is overflowed with data from the file. iDefense confirmed the existence of this vulnerability in OpenOffice version 2.3. Other versions may also be affected.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2007-10-31 CVE Reserved
  • 2008-04-17 CVE Published
  • 2024-08-07 CVE Updated
  • 2025-06-07 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-189: Numeric Errors
CAPEC
References (32)
URL Date SRC
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.0.3
Search vendor "Openoffice" for product "Openoffice.org" and version "2.0.3"
-
Affected
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.1
Search vendor "Openoffice" for product "Openoffice.org" and version "2.1"
-
Affected
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.2
Search vendor "Openoffice" for product "Openoffice.org" and version "2.2"
-
Affected
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.2.1
Search vendor "Openoffice" for product "Openoffice.org" and version "2.2.1"
-
Affected
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.3
Search vendor "Openoffice" for product "Openoffice.org" and version "2.3"
-
Affected
Openoffice
Search vendor "Openoffice"
Openoffice.org
Search vendor "Openoffice" for product "Openoffice.org"
2.3.1
Search vendor "Openoffice" for product "Openoffice.org" and version "2.3.1"
-
Affected