1. CVE archive
  2. 2008
  3. CVE-2008-3282

CVE-2008-3282

7.8 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 7.8 – High

Description

Integer overflow in the rtl_allocateMemory function in sal/rtl/source/alloc_global.c in the memory allocator in OpenOffice.org (OOo) 2.4.1, on 64-bit platforms, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted document, related to a "numeric truncation error," a different vulnerability than CVE-2008-2152.

Affected products

VendorProductVersionPlatform
apache openoffice 2.4.1 –
fedoraproject fedora 8 –
fedoraproject fedora 9 –
All 72 Apache Openoffice vulnerabilities

Vulnerability type

CWE-681 Incorrect Conversion between Numeric Types

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Impact on systems

ScopeImpact
Other, Integrity Unexpected State, Quality Degradation
The program could wind up using the wrong number and generate incorrect results. If the number is used to allocate resources or make a security decision, then this could introduce a vulnerability.

How to prevent it

Implementation Avoid making conversion between numeric types. Always check for the allowed ranges.

All 123 CWE-681 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org