Skip to content
Heist/ feed
Back to feed
CriticalFix available

vim — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2022-3520

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

Products
vim
Affected versions
Not specified
Fixed versions
8.2.4836-r1, 8.2.5000-r1
CVEs
CVE-2022-3520
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:13 UTC · Revision 1

Source evidence

ALPINE-CVE-2022-3520

core-osv · Original source

Published 2 Dec 2022, 19:15 UTC

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.

osv:ALPINE-CVE-2022-3520

vim

Fixed versions: 8.2.4836-r1

vim

Fixed versions: 8.2.5000-r1

Complete source record
{
  "id": "60fa0f85c50da13a8080c413e223871ebe24cdb47aa0f665d2ce4e86175301ee",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-3520",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2022-3520",
    "summary": "Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.",
    "evidence": "osv:ALPINE-CVE-2022-3520",
    "products": [
      {
        "name": {
          "value": "vim",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.2.4836-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.2.5000-r1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "ALPINE-CVE-2022-3520",
      "aliases": [
        "ALPINE-CVE-2022-3520"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.2.4836-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim",
            "purl": "pkg:apk/alpine/vim?arch=source",
            "ecosystem": "Alpine:v3.15"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-3520.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.2.5000-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim",
            "purl": "pkg:apk/alpine/vim?arch=source",
            "ecosystem": "Alpine:v3.16"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-3520.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-15T07:17:54.231504221Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-3520"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2022-3520"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-3520",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 321917,
  "published_at": "2022-12-02T19:15:11.01+00:00"
}