{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-25636","id":"CVE-2021-25636","title":"Incorrect trust validation of signature with ambiguous KeyInfo children","description":"LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xm","descriptionLong":"LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to contain both \"X509Data\" and \"KeyValue\" children of the \"KeyInfo\" tag, which when opened caused LibreOffice to verify using the \"KeyValue\" but to report verification with the unrelated \"X509Data\" value. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5.","published":"2022-02-22T00:00:00.000Z","updated":"2026-06-17T03:42:15.550Z","reserved":"2021-01-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Document Fdn.","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["The Document Foundation LibreOffice"],"affectedProducts":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":null,"versions":[{"version":"7.2","status":"affected","lessThan":"7.2.5","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-347","CWE-295"],"aliases":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2021-25636/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NE6UIBCPZWRBWPSEGJOPNWPPT3CCMVH2/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html","tags":["mailing-list","x_transferred","web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00954,"epssPercentile":0.62102,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-25636","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25636","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-25636","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25636","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}