Out-of-bounds read in Lxml - #VU170752

 

Out-of-bounds read in Lxml - #VU170752

Published: November 27, 2026


Vulnerability identifier: #VU170752
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the process and potentially disclose adjacent heap memory.

The vulnerability exists due to an out-of-bounds read in the incremental XML and HTML writers when scanning CDATA without adequately checking buffer boundaries. A remote attacker can supply malformed input that the application serializes as CDATA to cause a denial of service and potentially expose heap data in flushed output.


Affected software

Lxml

Remediation

Install security update from vendor's website.

Lxml - update to 6.2.0

External References

Related Security Bulletins