{"id":"CVE-2024-23807","state":"PUBLISHED","title":"Apache Xerces C++: Use-after-free on external DTD scan","description":"The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the scanning of external DTDs.\n\nUsers are recommended to upgrade to version 3.2.5 which fixes the issue, or mitigate the issue by disabling DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.\n\nThis issue has been disclosed before as CVE-2018-1311, but unfortunately that advisory incorrectly stated the issue would be fixed in version 3.2.3 or 3.2.4.\n\n","publishedAt":"2024-02-28T13:50:39.904Z","updatedAt":"2026-01-22T04:55:53.687Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Xerces C++"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Xerces C++","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.5","versionType":"semver"}]}],"references":["https://github.com/apache/xerces-c/pull/54","https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/23xxx/CVE-2024-23807.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-23807","state":"PUBLISHED","datePublished":"2024-02-28T13:50:39.904Z","dateUpdated":"2026-01-22T04:55:53.687Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-01-22T16:40:42.873Z"},"containers":{"cna":{"title":"Apache Xerces C++: Use-after-free on external DTD scan","descriptions":[{"lang":"en","value":"The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the scanning of external DTDs.\n\nUsers are recommended to upgrade to version 3.2.5 which fixes the issue, or mitigate the issue by disabling DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.\n\nThis issue has been disclosed before as CVE-2018-1311, but unfortunately that advisory incorrectly stated the issue would be fixed in version 3.2.3 or 3.2.4.\n\n"}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Xerces C++","defaultStatus":"unaffected","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.5","versionType":"semver"}]}],"references":[{"url":"https://github.com/apache/xerces-c/pull/54","tags":["patch"]},{"url":"https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2024-02-28T13:50:39.904Z"},"source":{"defect":["XERCESC-2188"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"apache","product":"xerces-c","defaultStatus":"unknown","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.2.5","versionType":"custom"}],"cpes":["cpe:2.3:a:apache:xerces-c:3.0.0:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-01-21T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2024-23807"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","type":"CWE","lang":"en","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-22T04:55:53.687Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/apache/xerces-c/pull/54","tags":["patch","x_transferred"]},{"url":"https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:13:08.245Z"}}]}}}