BSD Ports

giflib -- Buffer Overflow vulnerability

· CVE-2026-26740 · VuXML entry

https://github.com/zakkanijia/POC/blob/main/giflib/giftool/giflib_giftool_gce_len_heap_oobwrite_disclosure.md reports: 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 versions

By system

2 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlygraphics/giflib5.2.2 vulnerable since 2026-07-21
OpenBSDgraphics/giflib6.1.3p0 out of range, by version
NetBSDgraphics/giflib6.1.3 listed since 2026-07-21
MidnightBSDgraphics/giflib5.2.2_1 in range, by version
FreeBSDgraphics/giflib6.1.3 fixed (3 days after)