Description
Integer overflow in the readpgm function in pnm.c for GOCR 0.40, when using the netpbm library, allows remote attackers to execute arbitrary code via a PNM file with large width and height values, which leads to a heap-based buffer overflow.
References (2)
Core 2
Core References
Exploit, Mailing List mailing-list
x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=111358557823673&w=2
Broken Link, Exploit, Vendor Advisory x_refsource_misc
http://www.overflow.pl/adv/gocr.txt
Scores
CVSS v3
9.8
EPSS
0.0338
EPSS Percentile
87.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
Status
published
Products (1)
optical_character_recognition_project/optical_character_recognition
0.40
Published
Apr 15, 2005
Tracked Since
Feb 18, 2026