Critical
Security advisory
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
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-6551
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:31 UTC · Revision 1
Source evidence
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:CVE-2018-6551
Complete source record
{
"id": "cbeda3f4b82c9753e4085aa9f9e6c331b1eb9d3cdb88fe9ca6bb129f3ad5795e",
"url": "https://osv.dev/vulnerability/CVE-2018-6551",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "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:CVE-2018-6551",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-6551",
"aliases": [
"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": [
{
"repo": "https://github.com/bminor/glibc",
"type": "GIT",
"events": [
{
"introduced": "fdfc9260b61d3d72541f18104d24c7bcb0ce5ca2"
},
{
"last_affected": "1c9a5c270d8b66f30dcfaf1cb2d6cf39d3e18369"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.24"
},
{
"last_affected": "2.26"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.26",
"glibc-2.25",
"glibc-2.25.90",
"glibc-2.24",
"glibc-2.24.90"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6551.json"
}
},
{
"ranges": [
{
"repo": "https://sourceware.org/git/glibc.git",
"type": "GIT",
"events": [
{
"introduced": "fdfc9260b61d3d72541f18104d24c7bcb0ce5ca2"
},
{
"last_affected": "1c9a5c270d8b66f30dcfaf1cb2d6cf39d3e18369"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.24"
},
{
"last_affected": "2.26"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.26",
"glibc-2.25",
"glibc-2.25.90",
"glibc-2.24",
"glibc-2.24.90"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6551.json"
}
}
],
"modified": "2026-10-24T10:30:19.592759393Z",
"provider": "osv",
"references": [
"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=8e448310d74b283c5cd02b9ed7fb997b47bf9b22",
"https://security.netapp.com/advisory/ntap-20190404-0003/",
"https://sourceware.org/bugzilla/show_bug.cgi?id=22774"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-6551",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430057,
"published_at": "2018-02-02T14:29:01.59+00:00"
}