Description
getID3 before 1.9.26 contains an OS command injection vulnerability in shell-out handlers that fail to escape filenames in command strings. Attackers can craft malicious filenames containing shell metacharacters to inject arbitrary commands executed with the privileges of the process embedding getID3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| james-heinrich | getid3 | < 1.9.26 | 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.26+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-qf3m-pmjh-h6fx) vendor-advisory
- GitHub Issue #503 issue-tracking
- https://github.com/JamesHeinrich/getID3/commit/ce598c4f3823441d878c5a7a2a9f2f703a3e10b6 patch
- https://github.com/JamesHeinrich/getID3/commit/2c6f3f96546f05746405872848114754ed7fe9b4 patch
- getid3 v1.9.26 Release Notes release-notes
- unescaped shell_exec arguments at v1.9.25 technical-description
- https://github.com/JamesHeinrich/getID3 product
- VulnCheck Advisory: getID3 before 1.9.26 OS Command Injection via Unescaped Filenames third-party-advisory