CVE-2026-31235
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-g82g-j283-hj97PYSEC-2026-356

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
imgaug (PyPI)up to 0.4.0GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31235 changed 2026-05-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-g82g-j283-hj97 changed 2026-10-27CC-BY-4.0
NVDCVE-2026-31235 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-356 changed 2026-07-01CC-BY-4.0