Skip to content

Integer overflow in the readpgm function in pnm.c for...

High severity Unreviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Feb 18, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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

Published by the National Vulnerability Database Apr 15, 2005
Published to the GitHub Advisory Database May 1, 2022
Last updated Feb 18, 2024

Severity

High

EPSS score

1.836%
(89th percentile)

Weaknesses

CVE ID

CVE-2005-1141

GHSA ID

GHSA-ghqg-gfm6-qhh6

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.