# CVE-2023-41034: DDFFileParser in eclipse leshan is vulnerable to XXE Attacks

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-08-31T17:01:38.082Z
- Modified: 2026-09-10T03:49:57.793Z
- Also known as: GHSA-wc9j-gc65-3cm7
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Eclipse Leshan is a device management server and client Java implementation. In affected versions DDFFileParser` and `DefaultDDFFileValidator` (and so `ObjectLoader`) are vulnerable to `XXE Attacks`. A DDF file is a LWM2M format used to store LWM2M object description. Leshan users are impacted only if they parse untrusted DDF files (e.g. if they let external users provide their own model), in that case they MUST upgrade to fixed version. If you parse only trusted DDF file and validate only with trusted xml schema, upgrading is not mandatory.  This issue has been fixed in versions 1.5.0 and 2.0.0-M13. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- eclipse-leshan leshan: < 1.5.0; >= 2.0.0-M1, < 2.0.0-M13
- org.eclipse.leshan:leshan-core (Maven): before 1.5.0; from 2.0.0-M1 before 2.0.0-M13
- eclipse leshan: before 1.5.0; 2.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/eclipse-leshan/leshan/security/advisories/GHSA-wc9j-gc65-3cm7> (mitigation, third-party-advisory, web)
- <https://github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013> (patch, web)
- <https://github.com/eclipse-leshan/leshan/commit/4d3e63ac271a817f81fba3e3229c519af7a3049c> (patch, web)
- <https://github.com/eclipse-leshan/leshan/wiki/Adding-new-objects#the-lwm2m-model> (product, web)
- <https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing> (not-applicable, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41034> (advisory)
- <https://github.com/eclipse-leshan/leshan> (package)

## Sources

- CVE List: [CVE-2023-41034](https://www.cve.org/CVERecord?id=CVE-2023-41034), CVE Terms of Use, modified 2024-09-27
- GitHub Advisory Database: [GHSA-wc9j-gc65-3cm7](https://github.com/advisories/GHSA-wc9j-gc65-3cm7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-41034](https://nvd.nist.gov/vuln/detail/CVE-2023-41034), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-41034 · Whole record: https://cve.day/CVE-2023-41034.json · Rebuilt by cve.day 2026-11-25T22:58:27.482Z
