Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-1175: CWE-131 Incorrect Calculation of Buffer Size in vim vim/vim

0
High
VulnerabilityCVE-2023-1175cvecve-2023-1175cwe-131
Published: Sat Mar 04 2023 (03/04/2023, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: vim
Product: vim/vim

Description

Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.

AI-Powered Analysis

AILast updated: 11/03/2025, 22:02:00 UTC

Technical Analysis

CVE-2023-1175 is a vulnerability classified under CWE-131, indicating an incorrect calculation of buffer size within the vim text editor prior to version 9.0.1378. This flaw arises from improper handling of memory allocation for buffers, which can lead to buffer overflow conditions. Buffer overflows can allow attackers to overwrite adjacent memory, potentially enabling arbitrary code execution, privilege escalation, or denial of service. The CVSS 3.0 score of 7.3 (High) reflects that exploitation requires local access (AV:L), low attack complexity (AC:L), some privileges (PR:L), and user interaction (UI:R). The impact on confidentiality, integrity, and availability is high, meaning an attacker could fully compromise the system. No public exploits are known yet, but the vulnerability is serious given vim’s widespread use in Unix-like environments for editing code and configuration files. The flaw was identified and published on March 4, 2023, with no patch links provided in the data, but the fixed version is 9.0.1378 or later. This vulnerability is particularly concerning in multi-user systems where untrusted users have shell access and can invoke vim, potentially leading to local privilege escalation or system compromise.

Potential Impact

For European organizations, the vulnerability poses a significant risk especially in sectors relying heavily on Linux/Unix systems where vim is a default or preferred text editor. Successful exploitation could lead to unauthorized access to sensitive data, system integrity breaches, and service disruptions. Development environments, servers, and administrative workstations are at risk if local users with limited privileges can exploit the flaw to escalate privileges or execute arbitrary code. This could result in data leaks, defacement, or ransomware deployment. The impact is heightened in organizations with lax local user controls or where vim is used in automated scripts or CI/CD pipelines. Given the high confidentiality, integrity, and availability impact, organizations could face regulatory penalties under GDPR if personal data is compromised. The lack of known exploits provides a window for proactive patching and mitigation before widespread attacks occur.

Mitigation Recommendations

1. Immediately upgrade vim to version 9.0.1378 or later where the vulnerability is fixed. 2. Restrict local user privileges to the minimum necessary to reduce the risk of exploitation. 3. Monitor and audit local user activities for unusual vim usage patterns that could indicate exploitation attempts. 4. Implement application whitelisting or sandboxing for vim to limit its ability to execute arbitrary code or access sensitive resources. 5. Educate users about the risks of opening untrusted files in vim, as user interaction is required for exploitation. 6. Review and harden system configurations to prevent unauthorized local access, including disabling unnecessary accounts and enforcing strong authentication. 7. Integrate vulnerability scanning and patch management processes to ensure timely updates of vim and related software. 8. Consider alternative text editors with a smaller attack surface in high-security environments until the patch is applied.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntrdev
Date Reserved
2023-03-04T00:00:00.000Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 69092142fe7723195e053e20

Added to database: 11/3/2025, 9:40:18 PM

Last enriched: 11/3/2025, 10:02:00 PM

Last updated: 11/6/2025, 11:03:58 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats