CVE-2026-31235: n/a
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.
AI Analysis
Technical Summary
CVE-2026-31235 is an insecure deserialization vulnerability in the imgaug library (up to version 0.4.0). The BackgroundAugmenter class in multicore.py uses Python's pickle module to deserialize data from a multiprocessing queue in the _augment_images_worker() method without any safety checks. An attacker who can influence the data placed into this queue can provide a crafted pickle payload that, when deserialized, executes arbitrary code within the worker process. This vulnerability is classified under CWE-502 and has a CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting its critical impact on confidentiality, integrity, and availability. No patch or official remediation is currently documented.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely or locally in the context of the BackgroundAugmenter worker process. This can lead to full compromise of the affected system or environment where the imgaug library is used. The vulnerability affects confidentiality, integrity, and availability of the system. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted or unauthenticated input that could influence the multiprocessing queue used by the BackgroundAugmenter class. Consider isolating or sandboxing processes that use this library to limit potential impact from exploitation.
CVE-2026-31235: n/a
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.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-31235 is an insecure deserialization vulnerability in the imgaug library (up to version 0.4.0). The BackgroundAugmenter class in multicore.py uses Python's pickle module to deserialize data from a multiprocessing queue in the _augment_images_worker() method without any safety checks. An attacker who can influence the data placed into this queue can provide a crafted pickle payload that, when deserialized, executes arbitrary code within the worker process. This vulnerability is classified under CWE-502 and has a CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting its critical impact on confidentiality, integrity, and availability. No patch or official remediation is currently documented.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely or locally in the context of the BackgroundAugmenter worker process. This can lead to full compromise of the affected system or environment where the imgaug library is used. The vulnerability affects confidentiality, integrity, and availability of the system. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted or unauthenticated input that could influence the multiprocessing queue used by the BackgroundAugmenter class. Consider isolating or sandboxing processes that use this library to limit potential impact from exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a036531cbff5d861008c1bb
Added to database: 05/12/2026, 17:36:49 UTC
Last enriched: 05/20/2026, 18:40:58 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.