{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-1455","id":"CVE-2024-1455","title":"Billion Laughs Attack leading to DoS in langchain-ai/langchain","description":"A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS). ","descriptionLong":"A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS). ","published":"2024-03-26T14:03:46.647Z","updated":"2026-11-11T10:30:31.469891906Z","reserved":"2024-02-12T16:51:50.188Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["langchain-ai/langchain"],"affectedProducts":[{"vendor":"langchain-ai","product":"langchain-ai/langchain","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"0.1.35","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"langchain-core","purl":"pkg:pypi/langchain-core","ranges":["<0.1.35"],"fixed":["0.1.35"],"advisory":"GHSA-q84m-rmw3-4382"}],"cwes":["CWE-776"],"aliases":["GHSA-q84m-rmw3-4382","PYSEC-2026-1519"],"references":[{"url":"https://huntr.com/bounties/4353571f-c70d-4bfd-ac08-3a89cecb45b6","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/langchain-ai/langchain/commit/727d5023ce88e18e3074ef620a98137d26ff92a3","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1455.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1455","tags":["advisory"]},{"url":"https://github.com/langchain-ai/langchain/pull/17250","tags":["web"]},{"url":"https://github.com/langchain-ai/langchain/pull/19653","tags":["web"]},{"url":"https://github.com/langchain-ai/langchain/pull/19660","tags":["web"]},{"url":"https://github.com/langchain-ai/langchain","tags":["package"]},{"url":"https://pypi.org/project/langchain-core","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q84m-rmw3-4382","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00764,"epssPercentile":0.56174,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-1455","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1455","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-1455","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q84m-rmw3-4382","ok":true,"note":"GHSA-q84m-rmw3-4382"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-1455","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}