CVE-2023-27781: jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.
CVE-2023-27781 is a high-severity flaw (CVSS 7.8) affecting jpegoptim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.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.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2023-03-15 |
| 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-27781?
jpegoptim: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-27781 being exploited?
CVE-2023-27781 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-27781 affect?
CVE-2023-27781 affects jpegoptim. Severity is high (CVSS 7.8). jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.
How urgent is CVE-2023-27781?
Priority 41/100. High severity; Public exploit reference
Related CVEs
- CVE-2022-32325 MEDIUM 6.5 DOWNGRADE MITIGATE JPEGOPTIM v1.4.7 was discovered to contain a segmentation violation which is caused by a READ memory access at