Skip to content
Heist/ feed
Back to feed
MediumFix available

libreoffice — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-3140

LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.

Products
libreoffice
Affected versions
Not specified
Fixed versions
1:7.4.1~rc2-3
CVEs
CVE-2022-3140
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:49 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-3140

core-osv · Original source

Published 11 Oct 2022, 21:15 UTC

LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.

osv:DEBIAN-CVE-2022-3140

libreoffice

Fixed versions: 1:7.4.1~rc2-3

libreoffice

Fixed versions: 1:7.4.1~rc2-3

libreoffice

Fixed versions: 1:7.4.1~rc2-3

Complete source record
{
  "id": "b09f4ad6d082b5d212208ae8936869374bd34383f39a3c7a8c7a0bc8b5cd43eb",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-3140",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-3140",
    "summary": "LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.",
    "evidence": "osv:DEBIAN-CVE-2022-3140",
    "products": [
      {
        "name": {
          "value": "libreoffice",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.4.1~rc2-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libreoffice",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.4.1~rc2-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libreoffice",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.4.1~rc2-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-3140",
      "aliases": [
        "DEBIAN-CVE-2022-3140"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.4.1~rc2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "libreoffice",
            "purl": "pkg:deb/debian/libreoffice?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.4.1~rc2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "libreoffice",
            "purl": "pkg:deb/debian/libreoffice?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.4.1~rc2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "libreoffice",
            "purl": "pkg:deb/debian/libreoffice?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:29.974368394Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-3140"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-3140"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-3140",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323484,
  "published_at": "2022-10-11T21:15:16.367+00:00"
}