Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812482 (CVE-2021-40812) - media-libs/gd: OOB read (CVE-2021-40812)
Summary: media-libs/gd: OOB read (CVE-2021-40812)
Status: CONFIRMED
Alias: CVE-2021-40812
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/libgd/libgd/issues...
Whiteboard: B4 [upstream/ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-10 19:24 UTC by John Helmert III
Modified: 2021-10-13 02:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-09-10 19:24:05 UTC
CVE-2021-40812 (https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9):

The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.
Comment 1 John Helmert III gentoo-dev Security 2021-10-13 02:30:41 UTC
Seems like we have a partial fix in the first issue, new issue: https://github.com/libgd/libgd/issues/757