Medium
Security advisory
A Segmentation fault caused by a null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gf_avc_parse_nalu function in av_parsers.c when using mp4box, which causes a denial of service.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40565
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:38 UTC · Revision 1
Source evidence
A Segmentation fault caused by a null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gf_avc_parse_nalu function in av_parsers.c when using mp4box, which causes a denial of service.
osv:CVE-2021-40565
Complete source record
{
"id": "1f93f581c47dc9fe181d1927cf4005e9231af5be646e1fb530ef57b015921db0",
"url": "https://osv.dev/vulnerability/CVE-2021-40565",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40565",
"summary": "A Segmentation fault caused by a null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gf_avc_parse_nalu function in av_parsers.c when using mp4box, which causes a denial of service.",
"evidence": "osv:CVE-2021-40565",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-40565",
"aliases": [
"CVE-2021-40565"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gpac/gpac",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d8538e8ae946b32d99c6b2c57cbb327146e9cd9d"
},
{
"fixed": "893fb99b606eebfae46cde151846a980e689039b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.0.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "893fb99b606eebfae46cde151846a980e689039b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0.1",
"v0.7.1",
"v0.7.0",
"v0.6.0",
"v0.5.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40565.json",
"vanir_signatures": [
{
"id": "CVE-2021-40565-23cf188a",
"digest": {
"length": 4132,
"function_hash": "335139963073710083307518464564153621026"
},
"source": "https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b",
"target": {
"file": "src/media_tools/av_parsers.c",
"function": "gf_avc_parse_nalu"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-40565-5f5519ab",
"digest": {
"threshold": 0.9,
"line_hashes": [
"153580916275024851464425229044186991413",
"89277541988750827498244866193382836173",
"58821412537713668385346327648233806553",
"48322499738277173370318441782040572189"
]
},
"source": "https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b",
"target": {
"file": "src/media_tools/av_parsers.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:08:47Z"
}
}
],
"modified": "2026-10-20T14:08:47.974676973Z",
"provider": "osv",
"references": [
"https://github.com/gpac/gpac/issues/1902",
"https://www.debian.org/security/2023/dsa-5411",
"https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40565",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388575,
"published_at": "2022-01-12T22:15:07.89+00:00"
}