Skip to content
Fencer Vulns
medium 5.5

CVE-2018-8975 json

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-…

published 2018-03-25 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-20582

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 76%
public exploits
0
none known

Summary

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.

Patch / fix

  • netpbm SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +5 more 10.66.3-8.7.2
  • netpbm SLE Module for Desktop Applications 15, SLE Module for Basesystem 15 10.80.1-3.3.36

suse advisories SUSE-SU-2019:1645-1SUSE-SU-2019:0855-1

  • netpbm openSUSE Tumbleweed 10.93.0-1.6
  • netpbm openSUSE Leap 15.0 10.80.1-lp150.2.3.1

opensuse advisories openSUSE-SU-2024:11084-1openSUSE-SU-2019:1200-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-8975 updated cvss 4.4

netpbm: heap-buffer-overflow in pm_mallocarray2 function in lib/util/mallocvar.c

  • Red Hat Enterprise Linux 6 netpbm, netpbm-progs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 7 netpbm, netpbm-progs Red Hat Enterprise Linux 8 netpbm, netpbm-progs
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 5 netpbm Red Hat Enterprise Linux 9 netpbm, netpbm-progs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/xiaoqx/pocs/blob/master/netpbm referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.