XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

BID:10985

Info

XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

Bugtraq ID: 10985
Class: Boundary Condition Error
CVE: CVE-2004-1725
CVE-2004-1726
Remote: Yes
Local: No
Published: Aug 20 2004 12:00AM
Updated: Jul 12 2009 06:17AM
Credit: Discovery of these vulnerabilities is credited to Sean <[email protected]>
Vulnerable: John Bradley XV 3.10 a
+ Gentoo Linux
+ Slackware Linux 10.1
+ Slackware Linux 10.0
+ Slackware Linux 9.1
+ Slackware Linux 9.0
+ Slackware Linux 8.1
+ Slackware Linux -current
Not Vulnerable:

Discussion

XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

xv is an image manipulation utility for the X Window System.

xv is reported prone to multiple buffer overflow and integer overflow vulnerabilities. The following issues are reported:

A stack based buffer overflow exists in the 'xvbmp.c' source file. It is reported that a user-supplied value is employed to iterate a loop that copies data into a finite stack based buffer.

Multiple heap overflow vulnerabilities are reported to exist in the 'xviris.c' source file. The vulnerabilities are reported to exist due to integer handling problems. It is reported that an attacker may supply an integer value that is employed as a value during heap based memory allocation; this value may cause the allocation of an insufficient chunk of memory.

A heap overflow vulnerability is reported to exist in the 'xvpcx.c' source file. The vulnerability is reported to exist due to integer handling problems. It is reported that an attacker may supply an integer value that is employed as a value during heap based memory allocation; this value may cause the allocation of an insufficient chunk of memory.

An additional heap overflow vulnerability is reported to exist in the 'xvpm.c' source file. The vulnerability is again reported to exist due to integer handling problems. It is reported that an attacker may supply an integer value that is employed as a value during heap based memory allocation; this value may cause the allocation of an insufficient chunk of memory.

Exploit / POC

XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

The following exploit is available:

Solution / Fix

XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

Solution:
Gentoo has released an advisory and fixes to address this issue. Fixes may be applied by the superuser with the following commands:
emerge sync
emerge -pv ">=media-gfx/xv-3.10a-r7"
emerge ">=media-gfx/xv-3.10a-r7"

Slackware Linux has released advisory SSA:2005-195-02, along with fixes to address various issues. Please see the referenced advisory for further information.


John Bradley XV 3.10 a

References

XV Multiple Buffer Overflow and Integer Handling Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report