{"id":"CVE-2018-8975","aliases":["EUVD-2018-20582","GHSA-vq9h-w3r5-w484","MGASA-2019-0183","SUSE-SU-2019:0855-1","SUSE-SU-2019:1645-1","openSUSE-SU-2019:1200-1","openSUSE-SU-2024:11084-1"],"status":"published","title":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote...","description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01659,"percentile":0.76804,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-03-25T03:00:00Z","modified":"2026-06-17T02:05:45Z","fixes":[{"ecosystem":"Mageia:6","package":"netpbm","fixed_in":["10.73.07-1.1.mga6"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"netpbm","fixed_in":["10.80.1-3.3.36"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15","package":"netpbm","fixed_in":["10.80.1-3.3.36"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.0","package":"netpbm","fixed_in":["10.80.1-lp150.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"netpbm","fixed_in":["10.93.0-1.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:6","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.73.07-1.1.mga6"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.80.1-3.3.36"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.80.1-3.3.36"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.66.3-8.7.2"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.80.1-lp150.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"netpbm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.93.0-1.6"}]}]}],"products":[{"vendor":"netpbm_project","product":"netpbm"}],"references":[{"url":"https://github.com/xiaoqx/pocs/blob/master/netpbm","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00056.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LVMWVVFEADMA7XIPXFHGSBRYKEGGDFGE/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VEZRUJ5LNGULJL7QUAHPV5LBOKIJYP5I/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8975"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LVMWVVFEADMA7XIPXFHGSBRYKEGGDFGE/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VEZRUJ5LNGULJL7QUAHPV5LBOKIJYP5I/"},{"url":"https://github.com/advisories/GHSA-vq9h-w3r5-w484"},{"url":"https://advisories.mageia.org/MGASA-2019-0183.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24753","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-04/msg00113.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190855-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1086777","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8975","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20191645-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1024288","tags":["report"]},{"url":"https://bugzilla.suse.com/1024291","tags":["report"]},{"url":"https://bugzilla.suse.com/1136936","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2579","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2580","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/I4AAN6P4XYXWQSGRZ2KBD6PS6OLL4LCL/#I4AAN6P4XYXWQSGRZ2KBD6PS6OLL4LCL","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-8975","description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","status":"published","published":"2018-03-25T03:00:00Z","modified":"2024-08-05T07:10:47.351Z","updated_at":"2026-11-02T14:35:04.540365Z"}],"euvd":[{"id":"EUVD-2018-20582","description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","status":"published","published":"2018-03-25T04:00:00Z","modified":"2024-08-05T07:10:47Z","updated_at":"2026-11-03T02:40:01.4233Z"}],"ghsa":[{"id":"GHSA-vq9h-w3r5-w484","title":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote...","description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","status":"published","published":"2022-05-13T01:11:47Z","modified":"2023-02-01T05:03:53Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:50:06.799159Z"}],"nvd":[{"id":"CVE-2018-8975","description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","status":"published","published":"2018-03-25T03:29:00.35Z","modified":"2026-06-17T02:05:45.44Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"MGASA-2019-0183","title":"Updated netpbm packages fix security vulnerability","description":"The pm_mallocarray2 function allowed remote attackers to cause a denial of\nservice (heap-based buffer over-read) via a crafted image file\n(CVE-2018-8975).\n","status":"published","published":"2019-05-19T11:27:30Z","modified":"2026-04-16T04:43:55.166504572Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2019:1200-1","title":"Security update for netpbm","description":"This update for netpbm fixes the following issues:\n\n- CVE-2018-8975: The pm_mallocarray2 function allowed remote attackers to cause\n  a denial of service (heap-based buffer over-read) via a crafted image file\n  (bsc#1086777).\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2019-04-12T12:54:48Z","modified":"2026-02-04T04:31:46.744411Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"openSUSE-SU-2024:11084-1","title":"libnetpbm-devel-10.93.0-1.6 on GA media","description":"These are all security issues fixed in the libnetpbm-devel-10.93.0-1.6 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:21:46.98457Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2019:0855-1","title":"Security update for netpbm","description":"This update for netpbm fixes the following issues:\n\n- CVE-2018-8975: The pm_mallocarray2 function allowed remote attackers to cause\n  a denial of service (heap-based buffer over-read) via a crafted image file\n  (bsc#1086777).\n","status":"published","published":"2019-04-03T09:50:03Z","modified":"2026-02-04T02:54:01.525655Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2019:1645-1","title":"Security update for netpbm","description":"This update for netpbm fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-8975: The pm_mallocarray2 function allowed remote attackers to cause\n  a denial of service (heap-based buffer over-read) via a crafted image file (bsc#1086777).\n- CVE-2017-2579: Fixed out-of-bounds read in expandCodeOntoStack() (bsc#1024288).\n- CVE-2017-2580: Fixed out-of-bounds write of heap data in addPixelToRaster() function (bsc#1024291).\n\n- create netpbm-vulnerable subpackage and move pstopnm there (bsc#1136936)\n\n","status":"published","published":"2019-06-21T14:10:56Z","modified":"2026-02-04T04:10:30.037255Z","updated_at":"2026-11-02T15:53:46.44301Z"}]}}
