chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file. in GitHub repository hpjansson/chafa prior to 1.10.2. chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file.
{
"cna_assigner": "@huntrdev",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1507.json"
}{
"cpe": "cpe:2.3:a:chafa_project:chafa:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.10.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1507.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"226139639360273292168531425569052750193",
"128192117757469412337181797085380734841",
"148165627436341425810271921761655786850"
],
"threshold": 0.9
},
"id": "CVE-2022-1507-595d80cd",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/hpjansson/chafa/commit/e4b777c7b7c144cd16a0ea96108267b1004fe6c9",
"target": {
"file": "libnsgif/libnsgif.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "37117809620763676497047265525472027561",
"length": 5892
},
"id": "CVE-2022-1507-848219be",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/hpjansson/chafa/commit/e4b777c7b7c144cd16a0ea96108267b1004fe6c9",
"target": {
"file": "libnsgif/libnsgif.c",
"function": "gif_internal_decode_frame"
}
}
]
"2026-08-12T12:59:38Z"