CVE-2025-1215

Source
https://cve.org/CVERecord?id=CVE-2025-1215
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1215.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-1215
Downstream
Related
Published
2025-02-12T18:31:06.472Z
Modified
2026-07-15T15:53:00.187402Z
Severity
  • 2.4 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
vim main.c memory corruption
Details

A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host. Upgrading to version 9.1.1097 is able to address this issue. The patch is identified as c5654b84480822817bb7b69ebc97c174c91185e9. It is recommended to upgrade the affected component.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1215.json",
    "cwe_ids": [
        "CWE-119"
    ],
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/vim/vim

Affected ranges

Type
GIT
Repo
https://github.com/vim/vim
Events
Database specific
{
    "cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "9.1.1096"
        },
        {
            "last_affected": "9.1.1096"
        },
        {
            "introduced": "0"
        },
        {
            "fixed": "9.1.1097"
        }
    ]
}

Affected versions

9.*
9.1.1096
v9.*
v9.1.1096

Database specific

vanir_signatures
[
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "42447114149806573033898505403371006296",
            "length": 1289.0
        },
        "id": "CVE-2025-1215-31d46273",
        "signature_type": "Function",
        "target": {
            "function": "common_init",
            "file": "src/main.c"
        }
    },
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "284133475238388592398491348037293250304",
            "length": 4564.0
        },
        "id": "CVE-2025-1215-4a8086f7",
        "signature_type": "Function",
        "target": {
            "function": "endif",
            "file": "src/main.c"
        }
    },
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "37074130246431066121523056618065352525",
                "209818327268670002301727105315340373056",
                "173513180267139333535873256353314448037",
                "233233797750255586888635555666886017793",
                "145094471957471180977394572199403657491",
                "289276279076538026489247078484211046900",
                "74993261675509711571609258578475857398",
                "309947370752383641005882110864921058003",
                "339991501923586881957155468761141226904",
                "89050162474555063000094646800947443065",
                "197913811015611464365727182439367674096",
                "297416392397801331366762717589231468282",
                "147997946695856715542786412620466817763",
                "293622845078576378956369280950122740128",
                "148572888913468120928719192432854405941",
                "310251206451606994053016115088915688274"
            ]
        },
        "id": "CVE-2025-1215-81d63039",
        "signature_type": "Line",
        "target": {
            "file": "src/main.c"
        }
    },
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "83858829964796490194210856689146029031",
            "length": 431.0
        },
        "id": "CVE-2025-1215-8d9709db",
        "signature_type": "Function",
        "target": {
            "function": "main",
            "file": "src/message_test.c"
        }
    },
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "146200493773228420153804765641940418619",
                "255647411661596530030148880846932926380",
                "106686045972672276732200938893951594667",
                "142750197268390932384717001420957702105"
            ]
        },
        "id": "CVE-2025-1215-e2137659",
        "signature_type": "Line",
        "target": {
            "file": "src/version.c"
        }
    },
    {
        "source": "https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "92287973960607894250659376053288295323",
                "132225924347105318751558682158905399951",
                "327706802538832193745037149380504849990",
                "23071943257264356039521028396927262525"
            ]
        },
        "id": "CVE-2025-1215-ff55883c",
        "signature_type": "Line",
        "target": {
            "file": "src/message_test.c"
        }
    }
]
vanir_signatures_modified
"2026-07-15T15:53:00Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1215.json"