Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807058 (CVE-2021-38115) - <media-libs/gd-2.3.3: OOB read (CVE-2021-38115)
Summary: <media-libs/gd-2.3.3: OOB read (CVE-2021-38115)
Alias: CVE-2021-38115
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [noglsa cleanup]
Depends on: 858275
  Show dependency tree
Reported: 2021-08-07 22:47 UTC by John Helmert III
Modified: 2022-07-29 16:54 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-07 22:47:01 UTC

read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.

Unreleased patch:
Comment 1 Federico Justus Denkena 2022-07-15 17:04:58 UTC
Fixed in commit (as linked before), commit went into release 2.3.3 (
There is still version 2.3.2 left in tree and marked as stable while 2.3.3 is unstable. I'd recommend cleanup and security stabilisation of 2.3.3 once someone from the codec project confirms this.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-29 16:54:06 UTC
OOB read is low impact, no GLSA. Please cleanup.