CVE-2026-26740: Buffer Overflow

Published Mar 18, 2026
·
Updated

Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the EGifGCBToExtension overwriting an existing Graphic Control Extension block without validating its allocated size.

Affected Software

11 affected componentsFixes available
giflib
Giflib Project Giflib=5.2.2
IBM watsonx.data<=2.4.0 - 2.4.0 patch 8
debian/giflib
5.1.9-2+deb11u15.2.1-2.5+deb12u15.2.2-1+deb13u16.1.3-1
ubuntu/giflib*
ubuntu/giflib*
ubuntu/giflib*
ubuntu/giflib<5.1.9-2ubuntu0.3
5.1.9-2ubuntu0.3
ubuntu/giflib<5.2.2-1ubuntu1.2
5.2.2-1ubuntu1.2
ubuntu/giflib*
ubuntu/giflib<5.2.2-1ubuntu3.2
5.2.2-1ubuntu3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/giflib to a version that resolves this vulnerability.

    Fixed in 5.1.9-2+deb11u1Fixed in 5.2.1-2.5+deb12u1Fixed in 5.2.2-1+deb13u1Fixed in 6.1.3-1
  2. Upgrade

    Upgrade ubuntu/giflib to a version that resolves this vulnerability.

    Fixed in 5.1.9-2ubuntu0.3
  3. Upgrade

    Upgrade ubuntu/giflib to a version that resolves this vulnerability.

    Fixed in 5.2.2-1ubuntu1.2
  4. Upgrade

    Upgrade ubuntu/giflib to a version that resolves this vulnerability.

    Fixed in 5.2.2-1ubuntu3.2

Event History

Mar 18, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·06:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:16 PM
Description
Data Sourced
via Red Hat·07:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 PM
SeverityWeakness
Mar 21, 2026
Data Sourced
via NVD·12:09 AM
Affected Software
Jun 30, 2026
Updated
via NVD·01:17 PM
SeverityWeakness
Sep 26, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 21, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 19, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-26740?

CVE-2026-26740 has a high severity rating due to its potential to allow a remote attacker to cause a denial of service.

2

How do I fix CVE-2026-26740?

To fix CVE-2026-26740, update to the latest version of giflib that addresses this buffer overflow vulnerability.

3

What versions of giflib are affected by CVE-2026-26740?

CVE-2026-26740 specifically affects giflib version 5.2.2.

4

What is the impact of exploiting CVE-2026-26740?

Exploiting CVE-2026-26740 can lead to a denial of service, disrupting the functionality of applications using the vulnerable giflib.

5

How can I determine if my system is vulnerable to CVE-2026-26740?

You can determine if your system is vulnerable to CVE-2026-26740 by checking if you are running giflib version 5.2.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203