Description
getID3 through 1.9.26 contains an XML external entity injection vulnerability in the XML2array helper function that fails to properly disable entity loading on PHP before 8.0. Attackers can craft malicious XML metadata in media files to disclose local files, perform server-side request forgery, or cause denial of service through entity expansion.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| james-heinrich | getid3 | ≤ 1.9.26 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-getid3 | 1.9.27+dfsg-1 | — |
| Debian 13 | php-getid3 | No fix yet | — |
| Debian 12 | php-getid3 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | php-getid3 | No fix yet | — |
| Ubuntu 26.04 LTS | php-getid3 | No fix yet | — |
| Ubuntu 24.04 LTS | php-getid3 | No fix yet | — |
| Ubuntu 22.04 LTS | php-getid3 | No fix yet | — |
| Ubuntu 20.04 LTS | php-getid3 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php-getid3 | No fix yet | — |
| Ubuntu 16.04 LTS | php-getid3 | No fix yet | — |
References
- GitHub Security Advisory (GHSA-3hf9-j62w-m548) vendor-advisory
- GitHub Issue #505 issue-tracking
- GitHub PR #506 patch issue-tracking
- https://github.com/JamesHeinrich/getID3/commit/ce50b4b23439f87716653099718fa1c11b3d15c4 patch
- XML2array still unguarded at v1.9.26 technical-description
- https://github.com/JamesHeinrich/getID3 product
- VulnCheck Advisory: getID3 through 1.9.26 XML External Entity Injection via XML2array third-party-advisory