Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-6381

In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-6381
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:10 UTC · Revision 1

Source evidence

CVE-2018-6381

core-osv · Original source

Published 29 Jan 2018, 17:29 UTC

In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data.

osv:CVE-2018-6381
Complete source record
{
  "id": "e5393e9393e9d63c740a56a311bd7e3f9d50d665d316bfe85f6ce4c3c8d0d2cf",
  "url": "https://osv.dev/vulnerability/CVE-2018-6381",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-6381",
    "summary": "In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data.",
    "evidence": "osv:CVE-2018-6381",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-6381",
      "aliases": [
        "CVE-2018-6381"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gdraheim/zziplib",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9020a6ff18d2a9c0445b3c00d2ca19320dea3baf"
                },
                {
                  "last_affected": "9020a6ff18d2a9c0445b3c00d2ca19320dea3baf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gdraheim:zziplib:0.13.67:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.13.67"
                      },
                      {
                        "last_affected": "0.13.67"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.13.67",
            "v0.13.67"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6381.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:55.470480290Z",
      "provider": "osv",
      "references": [
        "https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-6381",
        "https://lists.debian.org/debian-lts-announce/2020/06/msg00029.html",
        "https://usn.ubuntu.com/3699-1/",
        "https://github.com/gdraheim/zziplib/issues/12"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-6381",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380989,
  "published_at": "2018-01-29T17:29:00.443+00:00"
}