CVE-2005-3662: Buffer Overflow

Published Nov 18, 2005
·
Updated

Off-by-one buffer overflow in pnmtopng before 2.39, when using the -alpha command line option (AlphasOfColor), allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted PNM file with exactly 256 colors.

Affected Software

5 affected components
Greg Roelofs Pnmtopng=2.37.3
Greg Roelofs Pnmtopng=2.37.4
Greg Roelofs Pnmtopng=2.37.5
Greg Roelofs Pnmtopng=2.37.6
Greg Roelofs Pnmtopng=2.38

Remediation

Event History

Nov 18, 2005
CVE Published
02:02 AM
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2005-3662?

CVE-2005-3662 has a medium severity level due to potential denial of service and arbitrary code execution risks.

2

How do I fix CVE-2005-3662?

To mitigate CVE-2005-3662, users should upgrade to pnmtopng version 2.39 or later.

3

What causes the vulnerability CVE-2005-3662?

CVE-2005-3662 is caused by an off-by-one buffer overflow when using the -alpha command line option with specifically crafted PNM files.

4

Is CVE-2005-3662 exploitable remotely?

Yes, CVE-2005-3662 can be exploited remotely through crafted PNM files sent to vulnerable systems.

5

What versions of pnmtopng are affected by CVE-2005-3662?

CVE-2005-3662 affects pnmtopng versions prior to 2.39, including 2.37.3, 2.38, 2.37.6, 2.37.5, and 2.37.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203