Medium
Security advisory
Memory leak in the stbl_GetSampleInfos function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31256
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:43 UTC · Revision 1
Source evidence
Memory leak in the stbl_GetSampleInfos function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.
osv:CVE-2021-31256
Complete source record
{
"id": "e7fe92e2e6475eec4281f192763c91326929d37d6da57c7652849063ffcbec4f",
"url": "https://osv.dev/vulnerability/CVE-2021-31256",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31256",
"summary": "Memory leak in the stbl_GetSampleInfos function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.",
"evidence": "osv:CVE-2021-31256",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-31256",
"aliases": [
"CVE-2021-31256"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpac/gpac",
"type": "GIT",
"events": [
{
"introduced": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"fixed": "2da2f68bffd51d89b1d272d22aa8cc023c1c066e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "2da2f68bffd51d89b1d272d22aa8cc023c1c066e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.0.1",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31256.json",
"vanir_signatures": [
{
"id": "CVE-2021-31256-05ee90d3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"271379964838622770638191838537824836551",
"74850478146093276797840713117210784655",
"21002431492837768195116458944965376348",
"10439252769331870000504154050764030868",
"270499913990714120200417959583955387157",
"71653203197305157759355907345428642969",
"192356018987768621237434183887153868824",
"30849309437551593067950658740262982675"
]
},
"source": "https://github.com/gpac/gpac/commit/2da2f68bffd51d89b1d272d22aa8cc023c1c066e",
"target": {
"file": "src/isomedia/stbl_read.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-31256-83bd733c",
"digest": {
"length": 4707,
"function_hash": "178363004142591669781357107860031073898"
},
"source": "https://github.com/gpac/gpac/commit/2da2f68bffd51d89b1d272d22aa8cc023c1c066e",
"target": {
"file": "src/isomedia/stbl_read.c",
"function": "stbl_GetSampleInfos"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:22:34Z"
}
}
],
"modified": "2026-10-20T14:22:34.899284692Z",
"provider": "osv",
"references": [
"https://github.com/gpac/gpac/commit/2da2f68bffd51d89b1d272d22aa8cc023c1c066e",
"https://github.com/gpac/gpac/issues/1705"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-31256",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388843,
"published_at": "2021-04-19T19:15:18.203+00:00"
}