Skip to content
Heist/ feed
Back to feed
CriticalFix available

glibc — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-6551

The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on powerpc, and only in version 2.26 on i386, did not properly handle malloc calls with arguments close to SIZE_MAX and could return a pointer to a heap region that is smaller than requested, eventually leading to heap corruption.

Products
glibc
Affected versions
Not specified
Fixed versions
2.27-1
CVEs
CVE-2018-6551
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:15 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-6551

core-osv · Original source

Published 2 Feb 2018, 14:29 UTC

The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on powerpc, and only in version 2.26 on i386, did not properly handle malloc calls with arguments close to SIZE_MAX and could return a pointer to a heap region that is smaller than requested, eventually leading to heap corruption.

osv:DEBIAN-CVE-2018-6551

glibc

Fixed versions: 2.27-1

glibc

Fixed versions: 2.27-1

glibc

Fixed versions: 2.27-1

Complete source record
{
  "id": "eaa12e4d7222c52c8383de4a2b67cd0af4fa27bca3fda898ace739a96e945d2e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-6551",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-6551",
    "summary": "The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on powerpc, and only in version 2.26 on i386, did not properly handle malloc calls with arguments close to SIZE_MAX and could return a pointer to a heap region that is smaller than requested, eventually leading to heap corruption.",
    "evidence": "osv:DEBIAN-CVE-2018-6551",
    "products": [
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.27-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.27-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "glibc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.27-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2018-6551",
      "aliases": [
        "DEBIAN-CVE-2018-6551"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.27-1"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6551.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.27-1"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6551.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.27-1"
                }
              ]
            }
          ],
          "package": {
            "name": "glibc",
            "purl": "pkg:deb/debian/glibc?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-6551.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:07.970745707Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-6551"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-6551"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-6551",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420527,
  "published_at": "2018-02-02T14:29:01.59+00:00"
}