Every CVE Search/ Get API key

CVE-2023-27781

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

7.8 HighFix available

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.39%Up 0.3 points since Mar 16, 2023
90%50%10%1%

What each source reports

NVD Score used 7.8

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
CVE-2023-27781
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
CVE-2023-27781
Updated
2026-11-02
EUVDEUVD-2023-31517 0.0

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
EUVD-2023-31517
CVSS
0.0 NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-9j85-mhfm-pjrc 7.8

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
GHSA-9j85-mhfm-pjrc
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVDEBIAN-CVE-2023-27781 7.8

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
DEBIAN-CVE-2023-27781
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-27781 7.8

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
UBUNTU-CVE-2023-27781
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV No score

jpegoptim v1.5.2 was discovered to contain a heap overflow in the optimize function at jpegoptim.c.

Record
CVE-2023-27781
Updated
2026-11-02
OSVMGASA-2023-0143 No score

Updated jpegoptim packages fix security vulnerability

A heap overflow can occur with crafted JPEG image file. (CVE-2023-27781)

Record
MGASA-2023-0143
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jpegoptim
Debian:12
All versions, plus listed versions
1.4.7-1
None known
jpegoptim
Debian:13
All versions, plus listed versions
1.4.7-1
None known
jpegoptim
Debian:14
All versions, plus listed versions
1.4.7-1
None known
jpegoptim
Mageia:8
before 1.5.1-1.1.mga8
1.5.1-1.1.mga8
jpegoptim
Ubuntu:14.04:LTS
All versions, plus listed versions
1.3.0-11.3.0-1ubuntu1
None known
jpegoptim
Ubuntu:16.04:LTS
All versions, plus listed versions
1.4.3-1
None known
jpegoptim
Ubuntu:18.04:LTS
All versions, plus listed versions
1.4.4-1
None known
jpegoptim
Ubuntu:20.04:LTS
All versions, plus listed versions
1.4.6-1
None known
jpegoptim
Ubuntu:22.04:LTS
All versions, plus listed versions
1.4.6-1
None known
jpegoptim
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.7-1
None known
jpegoptim
Ubuntu:25.10
All versions, plus listed versions
1.4.7-1
None known
jpegoptim
Ubuntu:26.10
All versions, plus listed versions
1.4.7-1build1
None known
jpegoptim
Ubuntu:26.04:LTS
All versions, plus listed versions
1.4.7-11.4.7-1build1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-27781 is a high vulnerability (CVSS 7.8) in Jpegoptim Project Jpegoptim, published March 15, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in jpegoptim 1.5.1-1.1.mga8.

References

Show 5 moreShow less
MoveEnter Open