CVE-2026-31235 Details
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.
A vulnerability allowing insecure deserialization has been identified in the imgaug library, specifically in versions through 0.4.0. The issue resides in the BackgroundAugmenter class within the multicore.py module. This vulnerability arises because the class utilizes Python's pickle module to deserialize data from a multiprocessing queue in the _augment_images_worker() method, without implementing any safety checks. An attacker who can manipulate the data sent to this queue—potentially through social engineering, malicious input scripts, or a compromised shared queue—could inject a harmful pickle payload. Once deserialized, this payload has the capability to execute arbitrary code within the worker process, leading to either remote or local code execution, depending on the deployment scenario.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2026CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/aleju/imgaug | [email protected] | ProductSource CodeVendor |
| https://www.notion.so/CVE-2026-31235-35d1e139318881efb701d814228424a9 | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| imgaug | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |
Volerion