GLSA 201701-72: libXpm: Remote execution of arbitrary code
Severity: | normal |
Title: | libXpm: Remote execution of arbitrary code |
Date: | 01/29/2017 |
Bugs: |
|
ID: | 201701-72 |
Synopsis
An integer overflow in libXpm might allow remote attackers to execute arbitrary code or cause a Denial of Service Condition.Background
The X PixMap image format is an extension of the monochrome X BitMap format specified in the X protocol, and is commonly used in traditional X applications.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
x11-libs/libXpm | < 3.5.12 | >= 3.5.12 | All supported architectures |
Description
An integer overflow was discovered in libXpm’s src/CrDatFrI.c file. On 64 bit systems, this allows an overflow to occur on 32 bit integers while parsing XPM extensions in a file.
Impact
A remote attacker, by enticing a user to process a specially crafted XPM file, could execute arbitrary code with the privileges of the process or cause a Denial of Service condition.
Workaround
There is no known workaround at this time.
Resolution
All libXpm users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-libs/libXpm-3.5.12"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 https://bugs.gentoo.org.
License
Copyright 2010 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.