CVE-2022-46294
Python vulnerability analysis and mitigation

Overview

Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing functionality in multiple supported formats of Open Babel 3.1.1 and master commit 530dbfa3. The vulnerability, identified as CVE-2022-46294, specifically affects the MOPAC Cartesian file format. This security flaw was discovered by Claudio Bozzato of Cisco Talos and publicly disclosed on July 21, 2023 (Talos Report).

Technical details

The vulnerability exists in the MOPACCART file format (formats/mopacformat.cpp) which parses input files via ReadMolecule. The issue occurs when processing translation vectors, where an array index (numTranslationVectors) can be incremented without bounds checking, leading to an out-of-bounds write condition. The vulnerability has received a CVSS 3.1 Base Score of 7.8 (HIGH) from NIST NVD with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, while Talos assessed it with a CVSS score of 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

A specially-crafted malformed file can lead to arbitrary code execution. The vulnerability allows an attacker to provide a malicious file to trigger this vulnerability, potentially leading to arbitrary code execution depending on the platform and how the code is compiled (Talos Report).

Exploitability

The vulnerability can be exploited by tricking a user into opening a specially crafted, malformed file. Due to the nature of the library and its widespread use in online chemical format converters and molecule viewers, the software is potentially accessible via network, increasing its attack surface (Talos Report).

Mitigation and workarounds

As of the disclosure date, no official fix has been released by Open Babel. The vendor declined to release an update within the 90-day period as outlined in Cisco's vulnerability disclosure policy (Vulnerability Roundup).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50027CRITICAL9.8
  • Python logoPython
  • mcp-memory-service
NoYesAug 14, 2026
CVE-2026-49986HIGH7.1
  • Python logoPython
  • neuro-cortex-memory
NoYesAug 14, 2026
CVE-2026-53708MEDIUM6.6
  • Python logoPython
  • mcp-contextforge-gateway
NoYesAug 14, 2026
CVE-2026-47192LOW2.1
  • Python logoPython
  • kas
NoYesAug 14, 2026
CVE-2026-47191LOW2.1
  • Python logoPython
  • kas
NoYesAug 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management