# pyxattr: heap buffer over-read when an extended attribute changes size during a read (GHSA-654c-pch2-4pcx)

Source: [Open Source Security](https://seclists.org/oss-sec/2026/q4/1007) · 2026-12-04 · Security
Page: https://themorning.dev/story/pyxattr-heap-buffer-over-read-when-an-extended-attribute-changes-size-during-a-r-6edaaf79c612365f
Kind: security · Impact: medium

## In brief

- pyxattr, a Python C extension for filesystem extended attributes, has a heap buffer over-read when an extended attribute changes size during a read.
- The flaw is tracked as GHSA-654c-pch2-4pcx and was disclosed on the oss-security list on 2026-12-04.
- Version 0.8.2, released on 2026-12-04 by the upstream author, fixes the issue.

## Why it matters

Developers and distributions shipping python-pyxattr or python3-pyxattr may run code vulnerable to memory over-reads when xattrs are modified concurrently with reads.

## What to do

- Upgrade pyxattr to version 0.8.2 or later.

## Versions

- pyxattr 0.8.2

## Timeline

- 2026-12-04: Heap buffer over-read in pyxattr disclosed on oss-security; version 0.8.2 released with the fix

## Coverage

- [pyxattr: heap buffer over-read when an extended attribute changes size during a read (GHSA-654c-pch2-4pcx)](https://seclists.org/oss-sec/2026/q4/1007) — Open Source Security, 2026-12-04

Tags: security, python, pyxattr, memory-safety, extended-attributes

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
