{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-57452",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-24T13:21:20.730Z",
        "datePublished": "2026-06-25T15:27:50.147Z",
        "dateUpdated": "2026-06-25T15:47:18.346Z"
    },
    "containers": {
        "cna": {
            "title": "Vim: Out-of-bounds Read with libsodium-encrypted Files",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-125",
                            "lang": "en",
                            "description": "CWE-125: Out-of-bounds Read",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-191",
                            "lang": "en",
                            "description": "CWE-191: Integer Underflow (Wrap or Wraparound)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 5.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486"
                },
                {
                    "name": "https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f"
                },
                {
                    "name": "https://github.com/vim/vim/releases/tag/v9.2.0671",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vim/vim/releases/tag/v9.2.0671"
                }
            ],
            "affected": [
                {
                    "vendor": "vim",
                    "product": "vim",
                    "versions": [
                        {
                            "version": "< 9.2.0671",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-06-25T15:27:50.147Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Vim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a file encrypted with the VimCrypt~04! or VimCrypt~05!\nmethod (xchacha20poly1305, requires the +sodium feature) whose body is shorter than a single libsodium secretstream header, an unsigned length calculation underflows and a subsequent decryption call reads far past the end of the input buffer, crashing Vim. This vulnerability is fixed in 9.2.0671."
                }
            ],
            "source": {
                "advisory": "GHSA-c4j9-wr9j-4486",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-25T15:47:10.061512Z",
                                "id": "CVE-2026-57452",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-25T15:47:18.346Z"
                }
            }
        ]
    }
}