{"id":"UBUNTU-CVE-2026-120435","details":"Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a heap buffer overflow in xpmtoppm caused by an unvalidated characters-per-pixel value in the XPM header. Attackers can supply a crafted XPM file with characters-per-pixel greater than 3 to overrun fixed 3-byte colorName hash entries, causing crashes or potentially code execution.","modified":"2026-11-04T03:30:38.321007093Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-120435"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120435"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-120435"},{"type":"REPORT","url":"https://sourceforge.net/p/netpbm/code/5336/"},{"type":"REPORT","url":"https://svn.code.sf.net/p/netpbm/code/!svn/bc/5335/trunk/converter/ppm/xpmtoppm.c"},{"type":"REPORT","url":"https://svn.code.sf.net/p/netpbm/code/!svn/bc/5357/advanced/doc/HISTORY"},{"type":"REPORT","url":"https://svn.code.sf.net/p/netpbm/code/!svn/bc/5358/stable/doc/HISTORY"},{"type":"REPORT","url":"https://svn.code.sf.net/p/netpbm/code/!svn/bc/5371/super_stable/doc/HISTORY"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/netpbm-before-10.86.51-11.02.30-and-11.15.08-heap-overflow-in-xpmtoppm"}],"affected":[{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:10.0-15.2","2:10.0-15.3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetpbm10","binary_version":"2:10.0-15.3"},{"binary_name":"libnetpbm9","binary_version":"2:10.0-15.3"},{"binary_version":"2:10.0-15.3","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:10.0-15.3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:10.0-15.3build1","binary_name":"libnetpbm10"},{"binary_version":"2:10.0-15.3build1","binary_name":"libnetpbm9"},{"binary_version":"2:10.0-15.3build1","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:10.0-15.3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetpbm10","binary_version":"2:10.0-15.3build1"},{"binary_name":"libnetpbm9","binary_version":"2:10.0-15.3build1"},{"binary_version":"2:10.0-15.3build1","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:10.0-15.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetpbm10","binary_version":"2:10.0-15.4"},{"binary_version":"2:10.0-15.4","binary_name":"libnetpbm9"},{"binary_version":"2:10.0-15.4","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:11.01.00-2build1","2:11.03.06-1","2:11.04.05-2","2:11.05.01-3","2:11.05.02-1","2:11.05.02-1.1","2:11.05.02-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:11.05.02-1.1build1","binary_name":"libnetpbm11t64"},{"binary_name":"netpbm","binary_version":"2:11.05.02-1.1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:11.10.02-1build1","2:11.13.03+ds-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetpbm11t64","binary_version":"2:11.13.03+ds-2"},{"binary_version":"2:11.13.03+ds-2","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}},{"package":{"name":"netpbm-free","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/netpbm-free?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:11.10.02-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetpbm11t64","binary_version":"2:11.10.02-1build1"},{"binary_version":"2:11.10.02-1build1","binary_name":"netpbm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120435.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}