CVE-2026-31235
CRITICAL 9.8CVSS 3.1imgaug contains an insecure deserialization vulnerability in BackgroundAugmenter class within multicore.py module
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
- 12 May 2026
- Last modified
- 27 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-502
- Also known as
- GHSA-g82g-j283-hj97PYSEC-2026-356
- Sources
- NVDJSONOSV GHSA-g82g-j283-hj97JSONOSV PYSEC-2026-356JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | imgaug | <= 0.4.0 |
References
- https://github.com/aleju/imgaug · PACKAGE
- https://www.notion.so/CVE-2026-31235-35d1e139318881efb701d814228424a9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31235 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/imgaug/PYSEC-2026-356.yaml · WEB
- https://pypi.org/project/imgaug · WEB, PACKAGE
- https://github.com/advisories/GHSA-g82g-j283-hj97 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 May 2026)