Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-8358

LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-8358
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:58 UTC · Revision 1

Source evidence

CVE-2017-8358

core-osv · Original source

Published 30 Apr 2017, 17:59 UTC

LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.

osv:CVE-2017-8358
Complete source record
{
  "id": "21de5f4e3213e707f3ac98a5e001ae66b241f68b90e35155472956ee0402914a",
  "url": "https://osv.dev/vulnerability/CVE-2017-8358",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-8358",
    "summary": "LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.",
    "evidence": "osv:CVE-2017-8358",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-8358",
      "aliases": [
        "CVE-2017-8358"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libreoffice/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6e6e54f944a5ebb49e9110bdeff844d00a96c56c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "6e6e54f944a5ebb49e9110bdeff844d00a96c56c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libreoffice-5-3-branch-point",
            "libreoffice-5-2-branch-point",
            "libreoffice-5-1-branch-point",
            "libreoffice-5-0-branch-point",
            "libreoffice-4-4-branch-point",
            "libreoffice-4-3-branch-point",
            "sdremote-2.0.0",
            "libreoffice-4-2-branch-point",
            "libreoffice-4-2-milestone-1",
            "libreoffice-4-1-branch-point",
            "libreoffice-4-0-branch-point",
            "libreoffice-3-6-branch-point",
            "libreoffice-3.5.0.0",
            "libreoffice-3-5-branch-point",
            "windows_build_successful_2011_11_08",
            "MELD_LIBREOFFICE_REPOS"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-8358.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:34.021666435Z",
      "provider": "osv",
      "references": [
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=889",
        "https://github.com/LibreOffice/core/commit/6e6e54f944a5ebb49e9110bdeff844d00a96c56c"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "libreoffice:libreoffice",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "5.2.6"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2017-03-17"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-8358",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380553,
  "published_at": "2017-04-30T17:59:00.967+00:00"
}