Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-4187

published medium CVSS 3.0 · 6.8

Use After Free in vim/vim

Published
29 Dec 2021, 17:10:09 UTC
Updated
02 Nov 2026, 18:10:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim/vimunspecified to < 8.2 Affected Not stated @huntrdev
Amazon Linux AL2 Release evaluationALAS2-2022-1743 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-098 Fixed Not stated Amazon Linux assessment
Alpine Linux edge vim Fixed 8.2.4173-r0 Package fix record
Debian bullseye vim Advisory build 2:8.2.2434-3+deb11u2 DLA-4097-1
Amazon Linux AL2 vimaarch64 Listed in advisory Not stated ALAS2-2022-1743
Alpine Linux v3.12 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.13 vim Fixed 8.2.4173-r0 Package fix record
Show 19 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.14 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.15 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.16 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.17 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.18 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.19 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.20 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.21 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.22 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.23 vim Fixed 8.2.4173-r0 Package fix record
Alpine Linux v3.24 vim Fixed 8.2.4173-r0 Package fix record
Amazon Linux AL2 vimi686 Listed in advisory Not stated ALAS2-2022-1743
Amazon Linux AL2 vimnoarch Listed in advisory Not stated ALAS2-2022-1743
Amazon Linux AL2 vimsrc Listed in advisory Not stated ALAS2-2022-1743
Amazon Linux AL2 vimx86_64 Listed in advisory Not stated ALAS2-2022-1743
Amazon Linux AL2023 vimaarch64 Listed in advisory Not stated ALAS2023-2023-098
Amazon Linux AL2023 vimnoarch Listed in advisory Not stated ALAS2023-2023-098
Amazon Linux AL2023 vimsrc Listed in advisory Not stated ALAS2023-2023-098
Amazon Linux AL2023 vimx86_64 Listed in advisory Not stated ALAS2023-2023-098

Description

vim is vulnerable to Use After Free

en · @huntrdev · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
6.8 / 10
Severity
medium
Provider
@huntrdev · cna
Vector string
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vim vim/vim unspecified to < 8.2 (affected · custom) @huntrdev · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (@huntrdev · cna)

References

13

Provider assertions

3

@huntrdev · cna

Use After Free in vim/vim

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4e40ef2d94b62d9bf54abb8ae589feb9ca279a6022556d5ce0e998fda9587574
Ingested
02 Nov 2026, 18:20:46 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected