Every CVE Search/ Get API key

CVE-2020-23922

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based...

7.1 HighFix available

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

2.24%Up 1.8 points since Apr 27, 2021
90%50%10%1%

What each source reports

NVD Score used 7.1

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
CVE-2020-23922
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
CVE-2020-23922
Updated
2026-11-02
EUVDEUVD-2020-16659 No score

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
EUVD-2020-16659
Updated
2026-11-03
GitHub AdvisoriesGHSA-6xhw-5p38-q4xw 7.1

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based...

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
GHSA-6xhw-5p38-q4xw
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.1

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
CVE-2020-23922
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-23922 7.1

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
DEBIAN-CVE-2020-23922
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVJLSEC-2026-815 7.1

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.

Record
JLSEC-2026-815
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Updated
2026-11-02
OSVOESA-2024-1757 7.1

giflib security update

giflib is a library of gif images and provides utilities for processing images.

Security Fix(es):

An issue was discovered in giflib through 5.1.4. DumpScreen2RGB in gif2rgb.c has a heap-based buffer over-read.(CVE-2020-23922)

Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive information via the DumpSCreen2RGB function in gif2rgb.c(CVE-2023-48161)

Record
OESA-2024-1757
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1781348390 No score

giflib: Fix of 2 CVEs

  • CVE-2020-23922: fix heap out-of-bounds read in DumpScreen2RGB
Record
CLSA-2026-1781348390
Updated
2026-11-02
OSVCLSA-2026-1787646995 No score

Fix CVE(s): CVE-2020-23922, CVE-2021-40633, CVE-2026-23868

  • SECURITY UPDATE: heap buffer over-read in gif2rgb
    • debian/patches/CVE-2020-23922.patch: bound each pixel index against the active color table before indexing ColorMap->Colors in DumpScreen2RGB in util/gif2rgb.c.
    • CVE-2020-23922
  • SECURITY UPDATE: memory leak leading to denial of service
    • debian/patches/CVE-2021-40633.patch: free every ScreenBuffer row, not just the row-pointer array, at the end of GIF2RGB in util/gif2rgb.c.
    • CVE-2021-40633
  • SECURITY UPDATE: double free in GifMakeSavedImage
    • debian/patches/CVE-2026-23868.patch: null out the heap pointers aliased by the shallow copy of CopyFrom, test the source record when deciding what to deep-copy, and restore ExtensionBlockCount after the extension blocks are copied, in lib/gifalloc.c.
    • CVE-2026-23868
Record
CLSA-2026-1787646995
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2020-23922 No score

CVE-2020-23922 in giflib - Patched by Root

Root has patched CVE-2020-23922 in the giflib package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2020-23922
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
giflib
TuxCare:AlmaLinux:9.2
before 5.2.1-9.el9.tuxcare.els5
5.2.1-9.el9.tuxcare.els5
giflib-devel
TuxCare:AlmaLinux:9.2
before 5.2.1-9.el9.tuxcare.els5
5.2.1-9.el9.tuxcare.els5
giflib-utils
TuxCare:AlmaLinux:9.2
before 5.2.1-9.el9.tuxcare.els5
5.2.1-9.el9.tuxcare.els5
giflib-tools
TuxCare:Ubuntu:18.04
From an advisory covering 3 CVEs
before 5.1.4-2ubuntu0.1+tuxcare.els1
5.1.4-2ubuntu0.1+tuxcare.els1
libgif-dev
TuxCare:Ubuntu:18.04
From an advisory covering 3 CVEs
before 5.1.4-2ubuntu0.1+tuxcare.els1
5.1.4-2ubuntu0.1+tuxcare.els1
libgif7
TuxCare:Ubuntu:18.04
From an advisory covering 3 CVEs
before 5.1.4-2ubuntu0.1+tuxcare.els1
5.1.4-2ubuntu0.1+tuxcare.els1
giflib
Debian:12
All versions, plus listed versions
5.2.1-2.55.2.1-2.5+deb12u15.2.2-16.1.3-1
None known
giflib
Debian:13
before 5.2.2-1
5.2.2-1
giflib
Debian:14
before 5.2.2-1
5.2.2-1
Giflib_jll
Julia
before 5.2.1+0
5.2.1+0
Show 6 moreShow less
Affected packages
PackageAffectedFixed
giflib
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 5.2.2-1.oe2003sp4
5.2.2-1.oe2003sp4
giflib
openEuler:22.03-LTS-SP1
From an advisory covering 2 CVEs
before 5.2.2-1.oe2203sp1
5.2.2-1.oe2203sp1
giflib
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 5.2.2-1.oe2203sp3
5.2.2-1.oe2203sp3
giflib
openEuler:24.03-LTS
From an advisory covering 2 CVEs
before 5.2.2-1.oe2403
5.2.2-1.oe2403
giflib
Root:Debian:12
before 5.2.1-2.5+deb12u1.aikido.8
5.2.1-2.5+deb12u1.aikido.8
rootio-giflib
Root:Debian:12
before 5.2.1-2.5+deb12u1.aikido.8
5.2.1-2.5+deb12u1.aikido.8

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-23922 is a high vulnerability (CVSS 7.1) in Giflib Project Giflib, published April 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.24%, the 82nd percentile. Fixed in giflib 5.2.1-9.el9.tuxcare.els5.

References

Show 10 moreShow less
MoveEnter Open