Lucene search

K
gentooGentoo FoundationGLSA-201701-72
HistoryJan 29, 2017 - 12:00 a.m.

libXpm: Remote execution of arbitrary code

2017-01-2900:00:00
Gentoo Foundation
security.gentoo.org
34

0.025 Low

EPSS

Percentile

90.2%

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.

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyallx11-libs/libxpm< 3.5.12UNKNOWN