CVE-2023-43907: OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
CVE-2023-43907 is a high-severity flaw (CVSS 7.8) affecting optipng. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 61%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2023-10-01 |
| 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-2023-43907?
optipng: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-43907 being exploited?
CVE-2023-43907 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-2023-43907 affect?
CVE-2023-43907 affects optipng. Severity is high (CVSS 7.8). OptiPNG v0.7.7 was discovered to contain a global buffer overflow via the 'buffer' variable at gifread.c.
How urgent is CVE-2023-43907?
Priority 42/100. High severity; Public exploit reference
Related CVEs
- CVE-2017-16938 HIGH 7.8 DOWNGRADE A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause a denial-of-service attack or other
- CVE-2017-1000229 HIGH 7.8 DOWNGRADE MITIGATE Integer overflow bug in function minitiff_read_info() of optipng 0.7.6 allows an attacker to remotely execute
- CVE-2016-3982 HIGH 8.8 MITIGATE MITIGATE Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers
- CVE-2016-3981 HIGH 7.8 UPGRADE MITIGATE Heap-based buffer overflow in the bmp_read_rows function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote a
- CVE-2016-2191 MEDIUM 6.5 DOWNGRADE MITIGATE The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a d