{"id":"CVE-2026-31235","aliases":["PYSEC-2026-356"],"url":"https://o3.security/vulnerability/CVE-2026-31235","summary":"imgaug contains an insecure deserialization vulnerability in BackgroundAugmenter class within multicore.py module","details":"The imgaug library thru 0.4.0 contains an insecure deserialization vulnerability in its BackgroundAugmenter class within the multicore.py module. The class uses Python's pickle module to deserialize data received via a multiprocessing queue in the _augment_images_worker() method without any safety checks. An attacker who can influence the data placed into this queue (e.g., through social engineering, malicious input scripts, or a compromised shared queue) can provide a malicious pickle payload. When deserialized, this payload can execute arbitrary code in the context of the worker process, leading to remote or local code execution depending on the deployment scenario.","published":"2026-05-12T18:30:41Z","modified":"2026-06-29T12:26:38.988002877Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00472,"percentile":0.38711,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"imgaug","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31235"},{"type":"PACKAGE","url":"https://github.com/aleju/imgaug"},{"type":"WEB","url":"https://www.notion.so/CVE-2026-31235-35d1e139318881efb701d814228424a9"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-29T12:26:38.988002877Z"}}