High
Security advisory
There is an invalid memory access bug in cgif.c that leads to a Segmentation fault in sam2p 0.49.4. A crafted input will lead to a denial of service or possibly unspecified other impact.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-19491
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:34 UTC · Revision 1
Source evidence
There is an invalid memory access bug in cgif.c that leads to a Segmentation fault in sam2p 0.49.4. A crafted input will lead to a denial of service or possibly unspecified other impact.
osv:CVE-2020-19491
Complete source record
{
"id": "789e3edc27bda9541bee252a8c0468914a543feb04486575a07d41013c749ca6",
"url": "https://osv.dev/vulnerability/CVE-2020-19491",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-19491",
"summary": "There is an invalid memory access bug in cgif.c that leads to a Segmentation fault in sam2p 0.49.4. A crafted input will lead to a denial of service or possibly unspecified other impact.",
"evidence": "osv:CVE-2020-19491",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-19491",
"aliases": [
"CVE-2020-19491"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pts/sam2p",
"type": "GIT",
"events": [
{
"introduced": "02883208a1b6fab503bd367c1acae43133c5ff42"
},
{
"last_affected": "02883208a1b6fab503bd367c1acae43133c5ff42"
},
{
"fixed": "1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sam2p_project:sam2p:0.49.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.49.4"
},
{
"last_affected": "0.49.4"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.49.4",
"v0.49.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-19491.json",
"vanir_signatures": [
{
"id": "CVE-2020-19491-2c537f53",
"digest": {
"threshold": 0.9,
"line_hashes": [
"26584005264558608497469863337678664354",
"277268880482349854981547270748005376378",
"187408893928214441657464376692005425479",
"115241181371941928282202310218825599045"
]
},
"source": "https://github.com/pts/sam2p/commit/1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73",
"target": {
"file": "cgif.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-19491-6045c24c",
"digest": {
"length": 16558,
"function_hash": "62284236809577344850796114599691681433"
},
"source": "https://github.com/pts/sam2p/commit/1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73",
"target": {
"file": "cgif.c",
"function": "DGifOpenFileName"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:52:50Z"
}
}
],
"modified": "2026-10-20T13:52:50.436288425Z",
"provider": "osv",
"references": [
"https://github.com/pts/sam2p/commit/1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73",
"https://github.com/pts/sam2p/issues/67"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-19491",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388340,
"published_at": "2021-07-21T18:15:09.03+00:00"
}