# CVE-2024-48514: Remote code execution in php-heic-to-jpg

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Published: 2024-10-24T00:00:00.000Z
- Modified: 2026-06-17T07:58:32.643Z
- Also known as: GHSA-g8v9-c8m3-942v
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

php-heic-to-jpg <= 1.0.5 is vulnerable to code injection (fixed in 1.0.6). An attacker who can upload heic images is able to execute code on the remote server via the file name. As a result, the CIA is no longer guaranteed. This affects php-heic-to-jpg 1.0.5 and below.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- maestroerror php-heic-to-jpg: up to 1.0.5
- maestroerror/php-heic-to-jpg (Packagist): before 1.0.5

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`

## References

- <https://github.com/MaestroError/php-heic-to-jpg> (package)
- <https://github.com/marcoris/CVEs/tree/master/CVE-2024-48514> (web)
- <https://advisories.gitlab.com/pkg/composer/maestroerror/php-heic-to-jpg/CVE-2024-48514/>
- <https://github.com/advisories/GHSA-g8v9-c8m3-942v> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-48514> (advisory)
- <https://github.com/MaestroError/php-heic-to-jpg/pull/34> (web)
- <https://advisories.gitlab.com/pkg/composer/maestroerror/php-heic-to-jpg/CVE-2024-48514> (web)

## Sources

- CVE List: [CVE-2024-48514](https://www.cve.org/CVERecord?id=CVE-2024-48514), CVE Terms of Use, modified 2024-12-19
- GitHub Advisory Database: [GHSA-g8v9-c8m3-942v](https://github.com/advisories/GHSA-g8v9-c8m3-942v), CC-BY-4.0, modified 2024-12-19
- NVD: [CVE-2024-48514](https://nvd.nist.gov/vuln/detail/CVE-2024-48514), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-48514 · Whole record: https://cve.day/CVE-2024-48514.json · Rebuilt by cve.day 2026-11-25T22:58:47.268Z
