{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-26305","id":"CVE-2022-26305","title":"Execution of Untrusted Macros Due to Improper Certificate Validation","description":"An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certifi","descriptionLong":"An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1.","published":"2022-07-25T00:00:00.000Z","updated":"2026-06-17T04:34:56.930Z","reserved":"2022-02-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Document Fdn.","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"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.7","versionType":"custom"},{"version":"7.3","status":"affected","lessThan":"7.3.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-295"],"aliases":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305","tags":["x_transferred","Vendor Advisory","advisory"]},{"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.01241,"epssPercentile":0.69796,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-26305","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26305","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-26305","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-2022-26305","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}