CVE catalog

CVE-2017-18342

pyyaml: CVE-2017-18342

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
5.66% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpyyamlsid6.0.3-1fixed
Debianpyyamlforky6.0.3-1fixed
Debianpyyamltrixie6.0.2-1fixed
Debianpyyamlbookworm6.0-3fixed
Opensusepython-PyYAMLtumbleweed6.0.3-1.6fixed
Opensusepython-openapi-spec-validatortumbleweed0.9.0-1.1fixed
Opensusepython-PyYAMLtumbleweed5.4.1-1.6fixed
Opensuseoci-clitumbleweed3.0.2-1.2fixed
Opensusepython-openapi-spec-validatortumbleweed0.7.1-1.3fixed
Opensusepython-PyYAMLtumbleweed6.0.1-4.1fixed
Ubuntupyyaml14.043.10-4build2vulnerable
Ubuntupyyaml14.043.10-4build3vulnerable
Ubuntupyyaml14.043.10-4build4vulnerable
Ubuntupyyaml14.043.10-4ubuntu0.1vulnerable
Ubuntupyyaml16.043.11-2build1vulnerable
Ubuntupyyaml16.043.11-3vulnerable
Ubuntupyyaml16.043.11-3build1vulnerable
Ubuntupyyaml18.043.12-1build2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpyyamlsourcesid5.1.2-1unimportantNot reported[902878]
Debianpyyamlsourceforky5.1.2-1unimportantNot reported[902878]
Debianpyyamlsourcetrixie5.1.2-1unimportantNot reported[902878]
Debianpyyamlsourcebookworm5.1.2-1unimportantNot reported[902878]
Opensusepython-PyYAMLrpmtumbleweed6.0.3-1.6Not reportedOPENSUSE-SU-2026:11996-1Not reported
Opensusepython-openapi-spec-validatorrpmtumbleweed0.9.0-1.1Not reportedOPENSUSE-SU-2026:11192-1Not reported
Opensusepython-PyYAMLrpmtumbleweed5.4.1-1.6Not reportedOPENSUSE-SU-2024:11210-1Not reported
Opensuseoci-clirpmtumbleweed3.0.2-1.2Not reportedOPENSUSE-SU-2024:11108-1Not reported
Opensusepython-openapi-spec-validatorrpmtumbleweed0.7.1-1.3Not reportedOPENSUSE-SU-2024:14152-1Not reported
Opensusepython-PyYAMLrpmtumbleweed6.0.1-4.1Not reportedOPENSUSE-SU-2024:14089-1Not reported

[Debian bug #902878]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-openapi-spec-validator]

    Details (1)
    • 0.9.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.7.1-1.3, 0.9.0-1.1

      Version impact unknown

      dsa · python-openapi-spec-validator · opensuse · tumbleweed

  • Source package: [python-PyYAML]

    Details (1)
    • 6.0.3-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 5.4.1-1.6, 6.0.1-4.1, 6.0.3-1.6

      Version impact unknown

      dsa · python-PyYAML · opensuse · tumbleweed

  • Source package: [python-openapi-spec-validator]

    Details (1)
    • 0.9.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.7.1-1.3, 0.9.0-1.1

      Version impact unknown

      dsa · python-openapi-spec-validator · opensuse · tumbleweed

  • Source package: [python-PyYAML]

    Details (1)
    • 6.0.3-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 5.4.1-1.6, 6.0.1-4.1, 6.0.3-1.6

      Version impact unknown

      dsa · python-PyYAML · opensuse · tumbleweed

  • [oci-cli]Fixed

    Source package: [oci-cli]

    Details (1)
    • 3.83.0-1.2 · noarch · tumbleweed

      Fixed · Fixed: 3.0.2-1.2

      dsa · oci-cli · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [pyyaml]

    Details (2)
    • 6.0-3+b2 · amd64 · bookworm

      Fixed · Fixed: 5.1.2-1

      dsa · pyyaml · debian · bookworm; dsa · pyyaml · debian · 12

    • 6.0-3+b2 · arm64 · bookworm

      Fixed · Fixed: 5.1.2-1

      dsa · pyyaml · debian · bookworm; dsa · pyyaml · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pyyaml]

    Details (2)
    • 6.0.2-1+b2 · amd64 · trixie

      Fixed · Fixed: 5.1.2-1

      dsa · pyyaml · debian · 13

    • 6.0.2-1+b2 · arm64 · trixie

      Fixed · Fixed: 5.1.2-1

      dsa · pyyaml · debian · 13

Observed:

References