summaryrefslogtreecommitdiff
blob: ebe84a30e1598c752c9b7a3965ed8ec41c6b4d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200607-06">
  <title>libpng: Buffer overflow</title>
  <synopsis>
    A buffer overflow has been found in the libpng library that could lead to
    the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">libpng</product>
  <announced>2006-07-19</announced>
  <revised count="01">2006-07-19</revised>
  <bug>138433</bug>
  <bug>138672</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libpng" auto="yes" arch="*">
      <unaffected range="ge">1.2.12</unaffected>
      <vulnerable range="lt">1.2.12</vulnerable>
    </package>
    <package name="app-emulation/emul-linux-x86-baselibs" auto="yes" arch="amd64">
      <unaffected range="ge">2.5.1</unaffected>
      <vulnerable range="lt">2.5.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libpng is an open, extensible image format library, with lossless
    compression.
    </p>
  </background>
  <description>
    <p>
    In pngrutil.c, the function png_decompress_chunk() allocates
    insufficient space for an error message, potentially overwriting stack
    data, leading to a buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>
    By enticing a user to load a maliciously crafted PNG image, an attacker
    could execute arbitrary code with the rights of the user, or crash the
    application using the libpng library, such as the
    emul-linux-x86-baselibs.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libpng users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/libpng-1.2.12"</code>
    <p>
    All AMD64 emul-linux-x86-baselibs users should also upgrade to the
    latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-emulation/emul-linux-x86-baselibs-2.5.1"</code>
  </resolution>
  <references>
    <uri link="https://heanet.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12-README.txt">libpng Changelog</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3334">CVE-2006-3334</uri>
  </references>
  <metadata tag="requester" timestamp="2006-07-04T14:10:20Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2006-07-04T18:53:23Z">
    daxomatic
  </metadata>
  <metadata tag="bugReady" timestamp="2006-07-17T16:54:49Z">
    koon
  </metadata>
</glsa>