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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | netpbm | 10.80.1-3.3.36 | SUSE-SU-2019:0855-1 |
| SLES 12 SP4 | netpbm | 10.66.3-8.7.2 | SUSE-SU-2019:1645-1 |
| SLES 12 SP3 | netpbm | 10.66.3-8.7.2 | SUSE-SU-2019:1645-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | netpbm | 10.66.3-8.7.2 | SUSE-SU-2019:1645-1 |
| SLES for SAP 12 SP3 | netpbm | 10.66.3-8.7.2 | SUSE-SU-2019:1645-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | netpbm | 10.93.0-1.6 | openSUSE-SU-2024:11084-1 |
| openSUSE Leap 15.0 | netpbm | 10.80.1-lp150.2.3.1 | openSUSE-SU-2019:1200-1 |
Advisories 4
- openSUSE-SU-2019:1200-1 Security update for netpbm SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1645-1 Security update for netpbm SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11084-1 libnetpbm-devel-10.93.0-1.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0855-1 Security update for netpbm SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/xiaoqx/pocs/blob/master/netpbm
- openSUSE-SU-2019:1200 vendor-advisory
- FEDORA-2021-df9ede6a02 vendor-advisory
- FEDORA-2021-f62099fe51 vendor-advisory