# CVE-2024-34459: An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages wit…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.50% (percentile 85, 2026-11-26)
- **CWE:** CWE-122
- **Published:** 2024-05-13T00:00:00.000Z
- **Modified:** 2026-10-15T01:17:45.877Z

## Who should check

- Anyone running n/a (versions: see the vendor advisory)
- Anyone running xmlsoft xmllint \< 2.11.8; \>= 2.12.0, \< 2.12.7
- Anyone running Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP \>= V3.1.0, \< V3.1.5
- Anyone running Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP \>= V3.1.0, \< V3.1.5
- Anyone running Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP \>= V3.1.0, \< V3.1.5

## Description

An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. Formatting error messages with xmllint --htmlout can result in a buffer over-read in xmlHTMLPrintFileContext in xmllint.c.

## Affected and fixed versions

- n/a: see vendor advisory (nvd)
- xmlsoft xmllint: \< 2.11.8; \>= 2.12.0, \< 2.12.7 (nvd)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: \>= V3.1.0, \< V3.1.5 (nvd)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: \>= V3.1.0, \< V3.1.5 (nvd)
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: \>= V3.1.0, \< V3.1.5 (nvd)
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: \>= V3.1.0, \< V3.1.5 (nvd)
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP: \>= V3.1.0, \< V3.1.5 (nvd)

## Mitigation

- Upgrade xmllint to 2.12.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-34459. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-34459.md
Affected: n/a; xmlsoft xmllint < 2.11.8; >= 2.12.0, < 2.12.7; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >=…
Fixed in: xmlsoft xmllint 2.11.8, xmlsoft xmllint 2.12.7

Steps:
1. Search this machine and project for n/a, xmlsoft xmllint, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-34459 being exploited?

There is no confirmed exploitation: CVE-2024-34459 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-34459?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-34459?

n/a; xmlsoft xmllint \< 2.11.8; \>= 2.12.0, \< 2.12.7; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP \>= V3.1.0, \< V3.1.5; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP \>= V3.1.0, \< V3.1.5; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP \>= V3.1.0, \< V3.1.5; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP \>= V3.1.0, \< V3.1.5; Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP \>= V3.1.0, \< V3.1.5.

### Is there a fix for CVE-2024-34459?

Yes. Fixed in xmlsoft xmllint 2.11.8, xmlsoft xmllint 2.12.7. Upgrade xmllint to 2.12.7 or later.

### How do I check if I'm affected by CVE-2024-34459?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/INKSSLW5VMZIXHRPZBAW4TJUX5SQKARG/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VRDJCNQP32LV56KESUQ5SNZKAJWSZZRI/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5HVUXKYTBWT3G5DEEQX62STJQBY367NL/>
- exploit: <https://gitlab.gnome.org/GNOME/libxml2/-/issues/720>
- other: <https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.7>
- other: <https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.8>
- other: <https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5HVUXKYTBWT3G5DEEQX62STJQBY367NL/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/INKSSLW5VMZIXHRPZBAW4TJUX5SQKARG/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VRDJCNQP32LV56KESUQ5SNZKAJWSZZRI/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-34459>

HTML: <https://flawdb.com/CVE-2024-34459> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-34459>
