tinygltf — security advisory
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
- Products
- tinygltf
- Affected versions
- Not specified
- Fixed versions
- 2.5.0+dfsg-5
- CVEs
- CVE-2022-3008
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:56 UTC · Revision 1
Source evidence
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
osv:DEBIAN-CVE-2022-3008
tinygltf
Fixed versions: 2.5.0+dfsg-5
tinygltf
Fixed versions: 2.5.0+dfsg-5
tinygltf
Fixed versions: 2.5.0+dfsg-5
Complete source record
{
"id": "640e9d354dd5af4a5a0bb0a5d4bdca72e85d8e383bd88e98f09a9e33c589a738",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-3008",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-3008",
"summary": "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",
"evidence": "osv:DEBIAN-CVE-2022-3008",
"products": [
{
"name": {
"value": "tinygltf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.5.0+dfsg-5",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tinygltf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.5.0+dfsg-5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tinygltf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.5.0+dfsg-5",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-3008",
"aliases": [
"DEBIAN-CVE-2022-3008"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0+dfsg-5"
}
]
}
],
"package": {
"name": "tinygltf",
"purl": "pkg:deb/debian/tinygltf?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3008.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0+dfsg-5"
}
]
}
],
"package": {
"name": "tinygltf",
"purl": "pkg:deb/debian/tinygltf?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3008.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0+dfsg-5"
}
]
}
],
"package": {
"name": "tinygltf",
"purl": "pkg:deb/debian/tinygltf?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3008.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:02:37.983112363Z",
"provider": "osv",
"upstream": [
"CVE-2022-3008"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-3008"
]
},
"related_cves": [
{
"value": "CVE-2022-3008",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 323830,
"published_at": "2022-09-05T09:15:10.11+00:00"
}