---
id: "CVE-2026-118445"
kind: "vulnerability"
aliases: ["CVE-2026-118445"]
title: "pybddisasm: freed memory reused after INSTRUX object is released"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["package", "pybddisasm", "python"]
not_affected_if: ["no-retained-member-references", "not-using-pybddisasm"]
published_at: "2026-11-03T09:17:11+00:00"
first_seen_at: "2026-11-03T09:19:50+00:00"
updated_at: "2026-11-03T09:20:21+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118445", "first_seen_at": "2026-11-03T09:19:50+00:00"}]
---

# pybddisasm: freed memory reused after INSTRUX object is released

The pybddisasm Python bindings return structure-valued members of INSTRUX objects that point into memory owned by the parent object. Keeping a reference to such a member after the parent is freed and then reading it accesses freed memory, which can leak process memory or crash the Python process.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the project depends on `pybddisasm` with `pip show pybddisasm` or in the lock file.
- Look for code that keeps references to INSTRUX structure members after the parent object goes out of scope.

## Timeline

- 2026-11-03T09:19:50+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118445

## From the sources

A use-after-free vulnerability in the pybddisasm Python bindings affects structure-valued members of INSTRUX objects. These members are exposed through Python objects that reference memory owned by the parent INSTRUX object. A retained reference to a member does not keep the parent allocation alive. Accessing the member after the parent INSTRUX object has been freed therefore accesses freed memory. Depending on how the member is used and whether the freed allocation has been reused, this may expose process memory or cause the Python process to crash. Exploitation requires an application to retain and subsequently access a member reference after the parent object has been freed. The pybddisasm package is no longer maintained.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
