ADVISORIES

Vulnerability

CVE-2017-18342

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • DEBIAN-CVE-2017-18342

    In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward…

    CVE-2017-18342 Debian Updated 1 September 2026
  • ELSA-2022-9341

    ELSA-2022-9341: ol-automation-manager security update (IMPORTANT)

    Important CVE-2017-18342CVE-2020-10108CVE-2020-10109CVE-2020-27783 Oracle Linux Updated 27 April 2022
  • GHSA-rprw-h62v-c2w7

    PyYAML insecurely deserializes YAML strings leading to arbitrary code execution

    Critical CVE-2017-18342 PyPI Updated 1 July 2026
  • PYSEC-2018-49

    In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward…

    CVE-2017-18342 PyPI Updated 8 November 2023
  • RHVEX-CVE-2017-18342

    PyYAML: yaml.load() API could execute arbitrary code

    Important CVE-2017-18342 Red Hat Updated 23 November 2026
  • UBUNTU-CVE-2017-18342

    In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward…

    CVE-2017-18342 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:11108-1

    oci-cli-3.0.2-1.2 on GA media

    CVE-2017-18342CVE-2020-14343CVE-2020-29651 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11210-1

    python36-PyYAML-5.4.1-1.6 on GA media

    CVE-2017-18342CVE-2020-14343 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14089-1

    python310-PyYAML-6.0.1-4.1 on GA media

    CVE-2017-18342CVE-2020-14343 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14152-1

    python310-openapi-spec-validator-0.7.1-1.3 on GA media

    CVE-2017-18342 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11192-1

    python313-openapi-spec-validator-0.9.0-1.1 on GA media

    CVE-2017-18342 openSUSE Updated 7 July 2026
  • openSUSE-SU-2026:11996-1

    python313-PyYAML-6.0.3-1.6 on GA media

    CVE-2017-18342CVE-2020-14343 openSUSE Updated 5 October 2026

References