Gentoo: KDE kimgio PCX handling buffer overflow
Posted by Benjamin D. Thomas   
Gentoo KDE fails to properly validate input when handling PCX images, potentially resulting in the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: KDE kimgio: PCX handling buffer overflow
      Date: April 22, 2005
      Bugs: #88862
        ID: 200504-22

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

KDE fails to properly validate input when handling PCX images,
potentially resulting in the execution of arbitrary code.

Background
==========

KDE is a feature-rich graphical desktop environment for Linux and
Unix-like Operating Systems. kimgio is the KDE image handler provided
by kdelibs.

Affected packages
=================

    -------------------------------------------------------------------
     Package           /  Vulnerable  /                     Unaffected
    -------------------------------------------------------------------
  1  kde-base/kdelibs     < 3.3.2-r8                      *>= 3.2.3-r9
                                                           >= 3.3.2-r8

Description
===========

kimgio fails to properly validate input when handling PCX files.

Impact
======

By enticing a user to load a specially-crafted PCX image in a KDE
application, an attacker could execute arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All kdelibs users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose kde-base/kdelibs

References
==========

  [ 1 ] CAN-2005-1046
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1046
  [ 2 ] KDE Security Advisory: kimgio input validation errors
        http://www.kde.org/info/security/advisory-20050421-1.txt

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200504-22.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0