{"id":"GHSA-g82g-j283-hj97","aliases":["CVE-2026-31235","PYSEC-2026-356"],"title":"imgaug contains an insecure deserialization vulnerability in BackgroundAugmenter class within multicore.py module","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"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.","severity":"critical","score":9.8,"published":"2026-05-12T18:30:41.000Z","modified":"2026-10-27T17:27:43.511Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"PyPI","name":"imgaug","sources":[{"name":"OSV · GHSA-g82g-j283-hj97","url":"https://osv.dev/vulnerability/GHSA-g82g-j283-hj97"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"0.4.0"}],"type":"ECOSYSTEM"}],"versions":["0.2.0","0.2.1","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.4.0"],"fixed":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-31235","https://github.com/aleju/imgaug","https://github.com/pypa/advisory-database/tree/main/vulns/imgaug/PYSEC-2026-356.yaml","https://pypi.org/project/imgaug","https://www.notion.so/CVE-2026-31235-35d1e139318881efb701d814228424a9"],"sources":[{"name":"OSV","id":"GHSA-g82g-j283-hj97","modified":"2026-10-27T17:27:43.511108038Z","url":"https://osv.dev/vulnerability/GHSA-g82g-j283-hj97"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T11:55:31.891Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}