{"schema":"threatline.record/2","record":{"id":"CVE-2026-31235","aliases":["GHSA-g82g-j283-hj97","PYSEC-2026-356"],"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.","categories":["Libraries & packages"],"product":"imgaug","vendor":"n/a","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-g82g-j283-hj97","source_modified_at":"2026-10-27T17:17:36Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"imgaug"},"range":"<= 0.4.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-31235","source_modified_at":"2026-05-14T19:54:30.058Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"n/a","vendor":"n/a","versions":[{"version":"n/a","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g82g-j283-hj97","source_modified_at":"2026-10-27T17:27:43.511108038Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"imgaug","ecosystem":"PyPI","purl":"pkg:pypi/imgaug"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.4.0"}]}],"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_versions":[],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00473,"percentile":0.40695,"score_date":"2026-10-27"},"published_at":"2026-05-12T00:00:00.000Z","modified_at":"2026-10-27T17:27:43.511108038Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-g82g-j283-hj97","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:17:36Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31235","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-05-14T19:54:30.058Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-g82g-j283-hj97","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:27:43.511108038Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31235","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31235","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://www.notion.so/CVE-2026-31235-35d1e139318881efb701d814228424a9"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/imgaug/PYSEC-2026-356.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/imgaug","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-g82g-j283-hj97","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/aleju/imgaug"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total","assessed_at":"2026-05-14T17:06:09.494729Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T17:27:43.511108038Z","content_hash":"e63402af683b1ee8c55806dbe95d4d64095f1efdbbe52eff0948f5a23db7eb2a"}}
