The imgaug library thru 0.4.0 contains an insecure deserialization vulnerability in its…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | imgaug (PyPI) | up to 0.4.0 | — | No fix listed | GHSA-g82g-j283-hj97 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- imgaug (PyPI) Vendor— Affected up to 0.4.0 Fixed in — No fix listed GHSA-g82g-j283-hj97
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31235
- 2026-10-03 Alias added: GHSA-g82g-j283-hj97
- 2026-10-25 EPSS moved to the below the 50th percentile
References
Sources
- CVE-2026-31235 · CVE Program
- CVE-2026-31235 · NVD
- FIRST EPSS
- GHSA-g82g-j283-hj97 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences