cve.bz

CVE-2017-18640 Billion Laughs Attack

7.5 highExploit referenceEPSS 27%Fix available

High (7.5). EPSS 27% estimated probability of exploitation activity in the next 30 days. Fixed in org.yaml:snakeyaml 1.26.

On this page
The Alias feature in SnakeYAML before 1.26 allows entity expansion during a load operation, a related issue to CVE-2003-1564.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
27% (unchanged from 27% a week ago; 27% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-18640 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-18640?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-18640?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-18640 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
snakeyaml_project:snakeyamlbefore 1.26
fedoraproject:fedora31
fedoraproject:fedora32
quarkus:quarkusthrough 1.3.4
oracle:peoplesoft_enterprise_pt_peopletools8.56
oracle:peoplesoft_enterprise_pt_peopletools8.57
oracle:peoplesoft_enterprise_pt_peopletools8.58

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rvwf-54qp-4r6vMavenorg.yaml:snakeyaml<1.261.26

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14snakeyaml1.25+ds-3DEBIAN-CVE-2017-18640
UbuntuPro:14.04:LTSsnakeyaml1.12-2ubuntu0.14.04.1~esm2UBUNTU-CVE-2017-18640 USN-7368-1
UbuntuPro:16.04:LTSsnakeyaml1.12-2ubuntu0.16.04.1~esm2UBUNTU-CVE-2017-18640 USN-7368-1
UbuntuPro:18.04:LTSsnakeyaml1.23-1+deb10u1ubuntu0.1~esm1UBUNTU-CVE-2017-18640 USN-7368-1
UbuntuPro:20.04:LTSsnakeyaml1.25+ds-2ubuntu0.1+esm1UBUNTU-CVE-2017-18640 USN-7368-1
Red Hatenterprise_linux:8::appstreamprometheus-jmx-exporter0:0.12.0-6.el8RHSA-2020:4807
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3, Manager Server Module 4.2snakeyaml1.28-3.5.1SUSE-SU-2021:1876-1
SUSEManager Server Module 4.0snakeyaml1.28-12.3.1SUSE-SU-2021:1978-1
SUSEManager Server Module 4.1snakeyaml1.28-12.3.1SUSE-SU-2021:1979-1
openSUSELeap 15.2snakeyaml1.28-lp152.2.3.1openSUSE-SU-2021:0855-1
openSUSELeap 15.3snakeyaml1.28-3.5.1openSUSE-SU-2021:1876-1
openSUSETumbleweedsnakeyaml1.28-2.2openSUSE-SU-2024:11391-1
AlmaLinux8prometheus-jmx-exporter0.12.0-6.el8ALSA-2020:4807
Rocky Linux8prometheus-jmx-exporter0:0.12.0-6.el8RLSA-2020:4807

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat AMQ Streams 1.8.0prometheus-jmx-exporterFixed 2021-08-19RHSA-2021:3225
Red Hat build of Quarkus 1.3.4snakeyamlFixed 2020-06-17RHSA-2020:2603
Red Hat Enterprise Linux 8prometheus-jmx-exporter-0:0.12.0-6.el8Fixed 2020-11-04RHSA-2020:4807
Red Hat Fuse 7.9prometheus-jmx-exporterFixed 2021-08-11RHSA-2021:3140
Red Hat A-MQ Onlineprometheus-jmx-exporterNot affected
Red Hat Enterprise Linux 7snakeyamlWill not fix
Red Hat Single Sign-On 7snakeyamlNot affected
Red Hat Software Collectionsrh-java-common-snakeyamlOut of support scope
Red Hat Software Collectionsrh-maven35-snakeyamlWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-18640.

Attack patterns (CAPEC)

  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON