CVE-2022-28506: There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
CVE-2022-28506 is a medium-severity flaw (CVSS 5.5) affecting giflib, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.3% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2022-04-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-28506?
giflib: downgrade or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-28506 being exploited?
CVE-2022-28506 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-28506 affect?
CVE-2022-28506 affects giflib, fedora. Severity is medium (CVSS 5.5). There is a heap-buffer-overflow in GIFLIB 5.2.1 function DumpScreen2RGB() in gif2rgb.c:298:45.
How urgent is CVE-2022-28506?
Priority 42/100. Public exploit reference
Related CVEs
- CVE-2023-48161 HIGH 7.1 DOWNGRADE Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive inf
- CVE-2026-26740 HIGH 8.2 DOWNGRADE Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the
- CVE-2026-23868 MEDIUM 5.1 UPGRADE Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImage and inco
- CVE-2024-45993 MEDIUM 6.5 DOWNGRADE Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb.
- CVE-2023-39742 MEDIUM 5.5 DOWNGRADE giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.