{"id":"CVE-2018-16428","aliases":["DEBIAN-CVE-2018-16428","DLA-1866-1","EUVD-2018-8268","GHSA-wj6v-2jfm-gw75","MGASA-2018-0405","SUSE-SU-2018:3913-1","SUSE-SU-2019:1596-1","SUSE-SU-2019:1722-1","UBUNTU-CVE-2018-16428","USN-3767-1","openSUSE-SU-2024:10791-1"],"status":"published","title":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer...","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","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.04693,"percentile":0.91854,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2018-09-03T00:00:00Z","modified":"2026-10-24T14:21:22Z","fixes":[{"ecosystem":"Debian:12","package":"glib2.0","fixed_in":["2.58.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glib2.0","fixed_in":["2.58.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glib2.0","fixed_in":["2.58.0-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"glib2.0","fixed_in":["2.40.2-0ubuntu1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"glib2.0","fixed_in":["2.48.2-0ubuntu4.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"glib2.0","fixed_in":["2.56.2-0ubuntu0.18.04.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.58.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.58.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.58.0-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.1-1+deb8u2"}]}],"versions":["2.42.1-1","2.42.1-1+deb8u1"],"bundled":3},{"source":"osv","ecosystem":"Mageia:6","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3-1.2.mga6"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3-4.7.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.54.3-4.7.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.38.2-7.9.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.38.2-7.9.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"glib2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-12.12.2"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.2-0ubuntu1.1"}]}],"versions":["2.38.0-1ubuntu1","2.38.1-1","2.39.1-0ubuntu1","2.39.1-0ubuntu2","2.39.1-0ubuntu3","2.39.2-0ubuntu1","2.39.2-0ubuntu2","2.39.3-0ubuntu4","2.39.4-0ubuntu1","2.39.90-0ubuntu1","2.39.91-0ubuntu2","2.39.91-0ubuntu3","2.39.92-2","2.40.0-1","2.40.0-1ubuntu1","2.40.0-2","2.40.2-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-0ubuntu4.1"}]}],"versions":["2.46.1-1","2.46.1-2","2.47.1-1","2.47.3-3","2.47.4-1","2.47.5-1","2.47.6-1","2.48.0-1ubuntu3","2.48.0-1ubuntu4","2.48.1-1~ubuntu16.04.1","2.48.2-0ubuntu1","2.48.2-0ubuntu3","2.48.2-0ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.56.2-0ubuntu0.18.04.2"}]}],"versions":["2.54.1-1ubuntu1","2.55.2-2ubuntu1","2.56.0-2ubuntu1","2.56.0-4ubuntu1","2.56.1-2ubuntu1","2.56.2-0ubuntu0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.2-0ubuntu1.1"}]}],"versions":["2.38.0-1ubuntu1","2.38.1-1","2.39.1-0ubuntu1","2.39.1-0ubuntu2","2.39.1-0ubuntu3","2.39.2-0ubuntu1","2.39.2-0ubuntu2","2.39.3-0ubuntu4","2.39.4-0ubuntu1","2.39.90-0ubuntu1","2.39.91-0ubuntu2","2.39.91-0ubuntu3","2.39.92-2","2.40.0-1","2.40.0-1ubuntu1","2.40.0-2","2.40.2-0ubuntu1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.48.2-0ubuntu4.1"}]}],"versions":["2.46.1-1","2.46.1-2","2.47.1-1","2.47.3-3","2.47.4-1","2.47.5-1","2.47.6-1","2.48.0-1ubuntu3","2.48.0-1ubuntu4","2.48.1-1~ubuntu16.04.1","2.48.2-0ubuntu1","2.48.2-0ubuntu3","2.48.2-0ubuntu4"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"glib2.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.56.2-0ubuntu0.18.04.2"}]}],"versions":["2.54.1-1ubuntu1","2.55.2-2ubuntu1","2.56.0-2ubuntu1","2.56.0-4ubuntu1","2.56.1-2ubuntu1","2.56.2-0ubuntu0.18.04.1"],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"gnome","product":"glib"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/glib/commit/fccef3cc822af74699cca84cd202719ae61ca3b9","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://usn.ubuntu.com/3767-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/105210","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://gitlab.gnome.org/GNOME/glib/issues/1364","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"https://usn.ubuntu.com/3767-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00029.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/14/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16428"},{"url":"https://github.com/advisories/GHSA-wj6v-2jfm-gw75"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16428","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0405.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23665","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183913-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1107116","tags":["report"]},{"url":"https://bugzilla.suse.com/1107121","tags":["report"]},{"url":"https://bugzilla.suse.com/1111499","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16428","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16429","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191596-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1137001","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12450","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191722-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1061599","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-16428","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3767-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3767-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16428","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-16429","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2008-2371","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6750","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-27218","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-27219","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-16428","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-04T00:00:00Z","modified":"2024-08-05T10:24:32.246Z","updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-8268","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-04T00:00:00Z","modified":"2024-08-05T10:24:32Z","updated_at":"2026-11-03T02:39:41.299131Z"}],"ghsa":[{"id":"GHSA-wj6v-2jfm-gw75","title":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer...","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2022-05-14T00:55:17Z","modified":"2023-02-02T05:02:44Z","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-476"],"updated_at":"2026-11-02T14:51:30.378864Z"}],"nvd":[{"id":"CVE-2018-16428","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-04T00:29:01.557Z","modified":"2026-06-17T01:44:16.407Z","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-476"],"updated_at":"2026-11-02T14:04:38.672108Z"}],"osv":[{"id":"CVE-2018-16428","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-04T00:29:01.557Z","modified":"2026-10-24T14:21:22.583111956Z","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:08.533609Z"},{"id":"DEBIAN-CVE-2018-16428","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-04T00:29:01.557Z","modified":"2026-10-23T18:03:00.99982631Z","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.290351Z"},{"id":"UBUNTU-CVE-2018-16428","description":"In GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c has a NULL pointer dereference.","status":"published","published":"2018-09-03T00:00:00Z","modified":"2026-04-22T11:47:27.627209Z","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:17.496046Z"},{"id":"DLA-1866-1","title":"glib2.0 - security update","status":"published","published":"2019-07-31T00:00:00Z","modified":"2026-03-09T01:21:39.033636Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2018-0405","title":"Updated glib2.0 packages fix security vulnerabilities","description":"The updated glib2.0 packages fix security vulnerabilities:\n\nIn GNOME GLib 2.56.1, g_markup_parse_context_end_parse() in gmarkup.c\nhas a NULL pointer dereference (CVE-2018-16428).\n\nGNOME GLib 2.56.1 has an out-of-bounds read vulnerability in\ng_markup_parse_context_parse() in gmarkup.c, related to utf8_str()\n(CVE-2018-16429).\n","status":"published","published":"2018-10-19T18:00:37Z","modified":"2026-04-16T06:24:57.939725673Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:10791-1","title":"gio-branding-upstream-2.68.4-2.2 on GA media","description":"These are all security issues fixed in the gio-branding-upstream-2.68.4-2.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:52:34.703941Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2018:3913-1","title":"Security update for glib2","description":"This update for glib2 fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-16428: Do not do a NULL pointer dereference (crash).\n  Avoid that, at the cost of introducing a new translatable error\n  message (bsc#1107121).\n- CVE-2018-16429: Fixed out-of-bounds read vulnerability ing_markup_parse_context_parse() (bsc#1107116).\n\nNon-security issue fixed:\n\n- various GVariant parsing issues have been resolved (bsc#1111499)\n","status":"published","published":"2018-11-26T16:46:16Z","modified":"2026-02-04T03:18:19.898239Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2019:1596-1","title":"Security update for glib2","description":"This update for glib2 fixes the following issues:\n\nSecurity issues fixed:    \n\n- CVE-2019-12450: Fixed an improper file permission when copy operation\n  takes place (bsc#1137001).     \n- CVE-2018-16428: Avoid a NULL pointer dereference (bsc#1107121).\n- CVE-2018-16429: Fixed out-of-bounds read vulnerability ing_markup_parse_context_parse() (bsc#1107116).\n- Some exploitable parser bugs in GVariant and GDBus subsystems were fixed (bsc#1111499).\n\n","status":"published","published":"2019-06-21T08:18:06Z","modified":"2026-02-04T03:51:40.4858Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2019:1722-1","title":"Security update for glib2","description":"This update for glib2 provides the following fix:\n\n\nSecurity issues fixed:\n\n- CVE-2019-12450: Fixed an improper file permission when copy operation\n  takes place (bsc#1137001).     \n- CVE-2018-16428: Avoid a null pointer dereference that could crash glib2 users in markup processing (bnc#1107121).\n- CVE-2018-16429: Fixed out-of-bounds read vulnerability ing_markup_parse_context_parse() (bsc#1107116).\n\nNon-security issues fixed:\n\n- Install dummy *-mimeapps.list files to prevent dead symlinks. (bsc#1061599)\n\n","status":"published","published":"2019-07-02T10:06:13Z","modified":"2026-02-04T03:09:36.247471Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"USN-3767-1","title":"glib2.0 vulnerabilities","description":"It was discovered that GLib incorrectly handled certain files.\nAn attacker could possibly use this issue to cause a denial of service or\nexecute arbitrary code. (CVE-2018-16428)\n\nIt was discovered that GLib incorrectly handled certain files.\nAn attacker could possibly use this issue to access sensitive information.\n(CVE-2018-16429)\n","status":"published","published":"2018-09-19T07:04:21Z","modified":"2026-04-22T09:49:57.829466Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
