Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 54%

Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the EGifGCBToExtension overwriting an…

0
High
Published: 03/18/2026 (03/18/2026, 18:16:00 UTC)
Source: GCVE Database
Product: giflib

Description

A buffer overflow vulnerability exists in giflib version 5.2.2 and several related Ubuntu package versions. The flaw occurs in the EGifGCBToExtension function, which overwrites an existing Graphic Control Extension block without validating its allocated size. This can be exploited by a remote attacker to cause a denial of service by crashing the affected application.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]~16.04.1+esm1?arch=source&distro=esm-infra/xenial
Affected versions
=4.1.6-11=5.1.1-0ubuntu1=5.1.1-0.1=5.1.1-0.2=5.1.2-0.1=5.1.2-0.2=5.1.4-0.3~16.04=5.1.4-0.3~16.04.1=5.1.4-0.3~16.04.1+esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-infra/bionic
Affected versions
=5.1.4-1=5.1.4-2=5.1.4-2ubuntu0.1=5.1.4-2ubuntu0.1+esm1
Ubuntu:20.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=5.1.4-3ubuntu1=5.1.9-1=5.1.9-1ubuntu0.1
Ubuntu:22.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
<5.1.9-2ubuntu0.3=5.1.9-2build1=5.1.9-2build2=5.1.9-2ubuntu0.1
Ubuntu:24.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
<5.2.2-1ubuntu1.2=5.2.1-2.5=5.2.2-1ubuntu1
Ubuntu:25.10more threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=5.2.2-1ubuntu2
Ubuntu:26.04:LTSmore threats →ghsa
giflib
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
<5.2.2-1ubuntu3.2=5.2.2-1ubuntu2=5.2.2-1ubuntu3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:55:32 UTC

Technical Analysis

The vulnerability in giflib v5.2.2 involves improper size validation in the EGifGCBToExtension function, leading to a buffer overflow when overwriting a Graphic Control Extension block. This flaw allows a remote attacker to trigger a denial of service condition by causing memory corruption. Multiple Ubuntu package versions of giflib are affected, including versions 4.1.6-11 through 5.2.2-1ubuntu3. No known exploits in the wild have been reported. The CVSS 3.1 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and high availability impact.

Potential Impact

Successful exploitation results in denial of service due to a buffer overflow that corrupts memory when handling GIF files. There is no reported confidentiality impact, but integrity is slightly affected and availability is highly impacted. The vulnerability can be triggered remotely without authentication or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official patch or fix links are provided in the available data. Users should monitor vendor advisories for updates and apply any official fixes once available. Until then, avoid processing untrusted GIF files with affected versions of giflib.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-26740
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a61511f9c2644c7f8da5f79

Added to database: 07/22/2026, 23:24:15 UTC

Last enriched: 07/22/2026, 23:55:32 UTC

Last updated: 07/31/2026, 19:24:46 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses