All vulnerabilities
CVE-2026-31235GHSA-g82g-j283-hj97PYSEC-2026-356

imgaug contains an insecure deserialization vulnerability in BackgroundAugmenter class within multicore.py module

n/a imgaugpipLibraries & packages
CVSS
9.8Critical
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.47%Chance of exploitation activity in the next 30 days, higher than 40% of CVEs. Scored 27 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Published12 May 2026Updated 27 Oct 2026CVE List

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

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.

Text from CVE List

Affected versions 14

  • imgaug, pip<= 0.4.0GitHub
  • n/aaffected: n/aCVE List
  • imgaug, PyPIfrom first release, through 0.4.0OSV
  • imgaug, PyPI0.2.0OSV
  • imgaug, PyPI0.2.1OSV
  • imgaug, PyPI0.2.3OSV
  • imgaug, PyPI0.2.4OSV
  • imgaug, PyPI0.2.5OSV
  • imgaug, PyPI0.2.6OSV
  • imgaug, PyPI0.2.7OSV
  • imgaug, PyPI0.2.8OSV
  • imgaug, PyPI0.2.9OSV
  • imgaug, PyPI0.3.0OSV
  • imgaug, PyPI0.4.0OSV

References 6