CVE-2022-1507

Source
https://cve.org/CVERecord?id=CVE-2022-1507
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1507.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1507
Downstream
Related
Published
2022-04-27T16:55:10Z
Modified
2026-08-12T12:59:38Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
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 hpjansson/chafa
Details

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.

Database specific
{
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1507.json"
}
References

Affected packages

Git / github.com/hpjansson/chafa

Affected ranges

Type
GIT
Repo
https://github.com/hpjansson/chafa
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:chafa_project:chafa:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.2"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.9.0
1.*
1.0.0
1.10.0
1.10.1
1.2.0
1.4.0
1.6.0
1.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1507.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-08-12T12:59:38Z"