Security mailing lists by PureSourceCode

CVE-2024-1455

MEDIUM 5.9CVSS 3.1

LangChain's XMLOutputParser vulnerable to XML Entity Expansion

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
26 Mar 2024
Last modified
7 Jul 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-776
Also known as
GHSA-q84m-rmw3-4382PYSEC-2026-1519
Sources
NVDJSONOSV GHSA-q84m-rmw3-4382JSONOSV PYSEC-2026-1519JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD langchain langchain
cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*
>= 0.1.4, <= 0.1.35
OSV PyPI langchain-core < 0.1.35 0.1.35

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Mar 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.