{"id":"CVE-2018-6551","aliases":["BELL-CVE-2018-6551","DEBIAN-CVE-2018-6551","EUVD-2018-18303","GHSA-39wv-6252-46w2","MGASA-2018-0159","SUSE-SU-2018:0451-1","SUSE-SU-2018:0565-1","UBUNTU-CVE-2018-6551"],"status":"published","title":"The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on...","description":"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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02208,"percentile":0.82698,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190","CWE-787"],"published":"2018-02-02T14:00:00Z","modified":"2026-10-24T10:30:19Z","fixes":[{"ecosystem":"Debian:12","package":"glibc","fixed_in":["2.27-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glibc","fixed_in":["2.27-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glibc","fixed_in":["2.27-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27-1"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-28.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.6.2"}]}],"bundled":5}],"products":[{"vendor":"gnu","product":"glibc"}],"references":[{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=8e448310d74b283c5cd02b9ed7fb997b47bf9b22","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=22774","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Mailing List","Third Party Advisory","report"]},{"url":"https://security.netapp.com/advisory/ntap-20190404-0003/","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6551"},{"url":"https://sourceware.org/git/?p=glibc.git;a=commit;h=8e448310d74b283c5cd02b9ed7fb997b47bf9b22","tags":["report"]},{"url":"https://github.com/advisories/GHSA-39wv-6252-46w2"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-6551","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6551","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0159.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22614","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-02/msg00078.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180451-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1037930","tags":["report"]},{"url":"https://bugzilla.suse.com/1051791","tags":["report"]},{"url":"https://bugzilla.suse.com/1073990","tags":["report"]},{"url":"https://bugzilla.suse.com/1074293","tags":["report"]},{"url":"https://bugzilla.suse.com/1079036","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8804","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000001","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6485","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6551","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180565-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/978209","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-6551","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6551","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-6551","description":"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.","status":"published","published":"2018-02-02T14:00:00Z","modified":"2024-08-05T06:10:10.398Z","updated_at":"2026-11-02T14:35:05.961936Z"}],"euvd":[{"id":"EUVD-2018-18303","description":"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.","status":"published","published":"2018-02-02T14:00:00Z","modified":"2024-08-05T06:10:10Z","updated_at":"2026-11-03T02:40:07.640255Z"}],"ghsa":[{"id":"GHSA-39wv-6252-46w2","title":"The malloc implementation in the GNU C Library (aka glibc or libc6), from version 2.24 to 2.26 on...","description":"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.","status":"published","published":"2022-05-13T01:20:29Z","modified":"2023-02-01T05:05:58Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:17.937177Z"}],"nvd":[{"id":"CVE-2018-6551","description":"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.","status":"published","published":"2018-02-02T14:29:01.59Z","modified":"2026-06-17T02:02:00.563Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190","CWE-787"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"BELL-CVE-2018-6551","title":"CVE-2018-6551 does not affect BellSoft software","status":"withdrawn","published":"2018-02-02T14:29:00Z","modified":"2026-01-26T09:48:47.511564Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"CVE-2018-6551","description":"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.","status":"published","published":"2018-02-02T14:29:01.59Z","modified":"2026-10-24T10:30:19.592759393Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6551","description":"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.","status":"published","published":"2018-02-02T14:29:01.59Z","modified":"2026-10-23T18:03:07.970745707Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6551","description":"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.","status":"withdrawn","published":"2018-02-02T14:29:00Z","modified":"2025-07-16T07:38:57.506027Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"MGASA-2018-0159","title":"Updated glibc packages fix security vulnerability","description":"An integer overflow in the implementation of the posix_memalign in memalign\nfunctions in the GNU C Library (aka glibc or libc6) 2.26 and earlier could\ncause these functions to return a pointer to a heap area that is too small,\npotentially leading to heap corruption (CVE-2018-6485, CVE-2018-6551).\n","status":"published","published":"2018-03-06T07:55:33Z","modified":"2026-04-16T06:22:44.329221442Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2018:0451-1","title":"Security update for glibc","description":"\n  \nThis update for glibc fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2017-8804: Fix memory leak after deserialization failure in xdr_bytes, xdr_string (bsc#1037930)\n- CVE-2017-12132: Reduce EDNS payload size to 1200 bytes (bsc#1051791)\n- CVE-2018-6485,CVE-2018-6551: Fix integer overflows in internal memalign and malloc functions (bsc#1079036)\n- CVE-2018-1000001: Avoid underflow of malloced area (bsc#1074293)\n\nNon security bugs fixed:\n\n- Release read lock after resetting timeout (bsc#1073990)\n","status":"published","published":"2018-02-15T13:48:02Z","modified":"2026-02-04T03:29:00.314328Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0565-1","title":"Security update for glibc","description":"\n  \nThis update for glibc fixes the following issues:\n\nSecurity issues:\n\n- CVE-2017-8804: Fix memory leak after deserialization failure in xdr_bytes, xdr_string (bsc#1037930)\n- CVE-2017-12132: Reduce EDNS payload size to 1200 bytes (bsc#1051791)\n- CVE-2018-6485,CVE-2018-6551: Fix integer overflows in internal memalign and malloc functions (bsc#1079036)\n- CVE-2018-1000001: Avoid underflow of malloced area in realpath (bsc#1074293)\n\nAlso a non security issue was fixed:\n\n- Do not fail if one of the two responses to AF_UNSPEC fails (bsc#978209)\n","status":"published","published":"2018-02-28T16:32:49Z","modified":"2026-02-04T02:27:26.515283Z","updated_at":"2026-11-02T15:53:44.594517Z"}]}}
