
CVE catalog
CVE-2022-3008
tinygltf: CVE-2022-3008
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.03% · Oct 25, 2026
The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tinygltf | sid | 2.9.7+dfsg-1 | fixed |
| Debian | tinygltf | forky | 2.9.7+dfsg-1 | fixed |
| Debian | tinygltf | trixie | 2.9.5+dfsg-1 | fixed |
| Debian | tinygltf | bookworm | 2.7.0+dfsg-2 | fixed |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-3build1 | vulnerable |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-4 | vulnerable |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-4ubuntu0.1 | fixed |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-3build1 | vulnerable |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-4 | vulnerable |
| Ubuntu | tinygltf | 22.04 | 2.5.0+dfsg-4ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tinygltf | source | sid | 2.5.0+dfsg-5 | not yet assigned | Not reported | [1019357] |
| Debian | tinygltf | source | forky | 2.5.0+dfsg-5 | not yet assigned | Not reported | [1019357] |
| Debian | tinygltf | source | trixie | 2.5.0+dfsg-5 | not yet assigned | Not reported | [1019357] |
| Debian | tinygltf | source | bookworm | 2.5.0+dfsg-5 | not yet assigned | Not reported | [1019357] |
| Ubuntu | tinygltf | deb | 22.04 | 2.5.0+dfsg-4ubuntu0.1 | Not reported | UBUNTU-CVE-2022-3008 | Not reported |
| Ubuntu | tinygltf | deb | 22.04 | 2.5.0+dfsg-4ubuntu0.1 | Not reported | USN-7129-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtinygltf2d]Fixed
Source package: [tinygltf]
Details (2)
2.7.0+dfsg-2· amd64 · bookwormFixed · Fixed:
2.5.0+dfsg-5dsa · tinygltf · debian · bookworm
2.7.0+dfsg-2· arm64 · bookwormFixed · Fixed:
2.5.0+dfsg-5dsa · tinygltf · debian · bookworm
- [libtinygltf-dev]Fixed
Source package: [tinygltf]
Details (2)
2.7.0+dfsg-2· amd64 · bookwormFixed · Fixed:
2.5.0+dfsg-5dsa · tinygltf · debian · bookworm
2.7.0+dfsg-2· arm64 · bookwormFixed · Fixed:
2.5.0+dfsg-5dsa · tinygltf · debian · bookworm
Observed: