CVE-2022-2862
Use After Free in vim/vim
Use After Free in GitHub repository vim/vim prior to 9.0.0221.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| vim/vim vim |
< 9.0.0221 (affected, custom) | CNA: @huntrdev |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (2)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
"versionEndExcluding": "9.0.0221",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.0 / 7.6 high |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | CNA: @huntrdev |
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD: [email protected] |
| 3.0 / 7.6 high |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | NVD: [email protected] |
Exploit evidence
- https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765
exploit · [email protected] - https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765
exploit · af854a3a-2127-422b-91ae-364da2661108
References
- https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765CNA: @huntrdev
- https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494CNA: @huntrdev
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/CNA: @huntrdev · vendor-advisory
- https://security.gentoo.org/glsa/202305-16CNA: @huntrdev · vendor-advisory
- https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765ADP: CVE · x_transferred
- https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/ADP: CVE · vendor-advisory, x_transferred
- https://security.gentoo.org/glsa/202305-16ADP: CVE · vendor-advisory, x_transferred
- https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494[email protected] · Patch, Third Party Advisory
- https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765[email protected] · Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/[email protected]
- https://security.gentoo.org/glsa/202305-16[email protected]
- https://github.com/vim/vim/commit/1889f499a4f248cd84e0e0bf6d0d820016774494af854a3a-2127-422b-91ae-364da2661108 · Patch, Third Party Advisory
- https://huntr.dev/bounties/71180988-1ab6-4311-bca8-e9a879b06765af854a3a-2127-422b-91ae-364da2661108 · Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/af854a3a-2127-422b-91ae-364da2661108
- https://security.gentoo.org/glsa/202305-16af854a3a-2127-422b-91ae-364da2661108
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.