CVE-2023-43907
published 2023-10-01CVE-2023-43907: OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
PriorityP434high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.52%
40.1th percentile
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | optipng | < optipng 0.7.8+ds-1 (forky) | optipng 0.7.8+ds-1 (forky) |
| msrc | azl3_optipng_0.7.8-5_on_azure_linux_3.0 | — | — |
| optipng_project | optipng | — | — |
| optipng_project | optipng | >= 0 < 0.7.8+ds-1 | 0.7.8+ds-1 |
| optipng_project | optipng | >= 0 < 0.7.8+ds-1 | 0.7.8+ds-1 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
vendor_msrc·2023-10-10·CVSS 7.8
CVE-2023-43907 [HIGH] CWE-120 OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediati
Red Hat
optipng: global buffer overflow via the 'buffer' variable at gifread.c.
vendor_redhat·2023-10-01·CVSS 7.8
CVE-2023-43907 [HIGH] CWE-120 optipng: global buffer overflow via the 'buffer' variable at gifread.c.
optipng: global buffer overflow via the 'buffer' variable at gifread.c.
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
A vulnerability has been identified in OptiPNG related to its handling of GIF file processing. The issue arises from a global buffer overflow occurring in the 'buffer' variable within the gifread.c component. This vulnerability can potentially be exploited by malicious actors to crash the OptiPNG program by manipulating specially crafted GIF files during processing.
Statement: Red Hat Product Security has rated this issue as having a Moderate security impact due to its classification as a crash in a CLI tool, with no significant security implications.
This issue is not currently planned to be addressed in future
Debian
CVE-2023-43907: optipng - OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffe...
vendor_debian·2023·CVSS 7.8
CVE-2023-43907 [HIGH] CVE-2023-43907: optipng - OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffe...
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 0.7.8+ds-1)
sid: resolved (fixed in 0.7.8+ds-1)
trixie: resolved (fixed in 0.7.8+ds-1)
OSV
CVE-2023-43907: OptiPNG v0
osv·2023-10-01·CVSS 7.8
CVE-2023-43907 [HIGH] CVE-2023-43907: OptiPNG v0
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
GHSA
GHSA-xwf2-9m25-2hpf: OptiPNG v0
ghsa_unreviewed·2023-10-01
CVE-2023-43907 [HIGH] CWE-120 GHSA-xwf2-9m25-2hpf: OptiPNG v0
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://optipng.sourceforge.net/https://github.com/Frank-Z7/z-vulnerabilitys/blob/main/optipng-global-buffer-overflow1/optipng-global-buffer-overflow1.mdhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IBHVG5LDE2K3FZSIK4XFXOUXSE7NZ5JH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RCG5CMDT37WCZGAWQNOIPVP4VHGCPUU3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VAB22JXDE7O27DYARZXC7PFUETM5OOT5/https://sourceforge.net/projects/optipng/files/OptiPNG/optipng-0.7.7/optipng-0.7.7.tar.gz/download?use_mirror=udomain&download=http://optipng.sourceforge.net/https://github.com/Frank-Z7/z-vulnerabilitys/blob/main/optipng-global-buffer-overflow1/optipng-global-buffer-overflow1.mdhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IBHVG5LDE2K3FZSIK4XFXOUXSE7NZ5JH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RCG5CMDT37WCZGAWQNOIPVP4VHGCPUU3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VAB22JXDE7O27DYARZXC7PFUETM5OOT5/https://sourceforge.net/projects/optipng/files/OptiPNG/optipng-0.7.7/optipng-0.7.7.tar.gz/download?use_mirror=udomain&download=
2023-10-01
Published