UBUNTU-CVE-2015-8877

Source
https://ubuntu.com/security/CVE-2015-8877
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8877.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2015-8877
Related
Published
2016-05-21T00:00:00Z
Modified
2016-05-21T00:00:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.

References

Affected packages

Ubuntu:14.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-3ubuntu0.1

Affected versions

2.*

2.1.0-2
2.1.0-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd2-noxpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd2-xpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.1",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libgd2

Package

Name
libgd2
Purl
pkg:deb/ubuntu/libgd2?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1-4ubuntu0.16.04.1

Affected versions

2.*

2.1.1-4build1
2.1.1-4build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd-dev-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.1",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}