Every CVE Search/ Get API key

CVE-2024-34515

image-optimizer allows PHAR deserialization

8.8 HighFix available

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.88%Up 1.8 points since May 6, 2024
90%50%10%1%

What each source reports

CVE List Score used 8.8

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
CVE-2024-34515
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
EUVDEUVD-2024-1463 8.8

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
EUVD-2024-1463
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-6pjm-hmvf-h4rr 8.7

image-optimizer allows PHAR deserialization

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
GHSA-6pjm-hmvf-h4rr
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
NVD 8.8

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
CVE-2024-34515
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSV 8.8

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
CVE-2024-34515
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-6pjm-hmvf-h4rr 8.7

image-optimizer allows PHAR deserialization

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Record
GHSA-6pjm-hmvf-h4rr
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSVCLSA-2026-1793215035 No score

TuxCare security update for spatie/image-optimizer (1 CVE)

TuxCare rebuilt spatie/image-optimizer to address 1 CVE. Fixed in 1.5.0-p1+tuxcare.

Record
CLSA-2026-1793215035
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
spatie/image-optimizer
Packagist
before 1.7.3
1.7.3
spatie/image-optimizer
TuxCare:Packagist
1.5.0 up to 1.5.0-p1+tuxcare
1.5.0-p1+tuxcare
spatie/image-optimizer
Packagist
before 1.7.3, plus listed versions
0.0.10.0.20.0.30.0.41.0.0
Show 34 moreShow less
1.0.11.0.101.0.111.0.121.0.131.0.141.0.31.0.41.0.51.0.61.0.71.0.81.0.91.1.01.1.11.1.21.1.31.1.41.1.51.1.61.2.01.2.11.3.01.3.11.3.21.4.01.5.01.6.11.6.21.6.31.6.41.7.01.7.11.7.2
1.7.3

History

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

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

In short

CVE-2024-34515 is a high vulnerability (CVSS 8.8) in Spatie Image Optimizer, published May 5, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.88%, the 79th percentile. Fixed in spatie/image-optimizer 1.7.3.

References

MoveEnter Open