JLSEC-2026-2330: Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a stack-based...
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a stack-based buffer overflow in picttoppm's scanPoly() function in converter/ppm/picttoppm.c. Attackers can supply a crafted PICT file whose polygon edges produce more than 5000 points, overflowing the coord stack array to crash the converter or potentially execute code.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Netpbm_jllto a version that resolves this vulnerability.Fixed in 10.86.51+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What must an attacker provide to trigger the issue?
The attacker must supply a crafted PICT file containing polygon edges that produce more than 5000 points when processed by picttoppm's scanPoly() function. Exploitation requires a user or workflow to run the converter on that file.
What is the practical impact of processing a malicious file?
The overflow can crash the converter and may potentially allow code execution. The affected stack array is coord in converter/ppm/picttoppm.c.
Which Netpbm releases need to be updated?
Affected releases are Netpbm versions before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08. Update to the applicable fixed release or later.