{"id":"CVE-2025-24928","state":"PUBLISHED","title":"libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted doc","description":"libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.","publishedAt":"2025-02-18T00:00:00.000Z","updatedAt":"2026-02-26T19:08:48.412Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","source":"mitre"},"assigner":"mitre","products":["xmlsoft libxml2"],"affected":[{"vendor":"xmlsoft","product":"libxml2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.12.10","versionType":"semver"},{"version":"2.13.0","status":"affected","lessThan":"2.13.6","versionType":"semver"}]}],"references":["https://gitlab.gnome.org/GNOME/libxml2/-/issues/847","https://issues.oss-fuzz.com/issues/392687022","https://security.netapp.com/advisory/ntap-20250321-0006/","https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/24xxx/CVE-2025-24928.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-24928","state":"PUBLISHED","datePublished":"2025-02-18T00:00:00.000Z","dateUpdated":"2026-02-26T19:08:48.412Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-01-28T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047."}],"affected":[{"vendor":"xmlsoft","product":"libxml2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.12.10","versionType":"semver"},{"version":"2.13.0","status":"affected","lessThan":"2.13.6","versionType":"semver"}]}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxml2/-/issues/847"},{"url":"https://issues.oss-fuzz.com/issues/392687022"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-02-18T22:20:43.285Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","versionEndExcluding":"2.12.10"},{"vulnerable":true,"criteria":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","versionStartIncluding":"2.13.0","versionEndExcluding":"2.13.6"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-24928","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-07-23T03:55:31.854089Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T19:08:48.412Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20250321-0006/"},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:12:47.571Z"}}]}}}