Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19857

The CAF demuxer in modules/demux/caf.c in VideoLAN VLC media player 3.0.4 may read memory from an uninitialized pointer when processing magic cookies in CAF files, because a ReadKukiChunk() cast converts a return value to an unsigned int even if that value is negative. This could result in a denial of service and/or a potential infoleak.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19857
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:15 UTC · Revision 1

Source evidence

CVE-2018-19857

core-osv · Original source

Published 5 Dec 2018, 11:29 UTC

The CAF demuxer in modules/demux/caf.c in VideoLAN VLC media player 3.0.4 may read memory from an uninitialized pointer when processing magic cookies in CAF files, because a ReadKukiChunk() cast converts a return value to an unsigned int even if that value is negative. This could result in a denial of service and/or a potential infoleak.

osv:CVE-2018-19857
Complete source record
{
  "id": "cdcc810f281b7048184a9d7f4b4254842811bc1086ddb04cf1a4ef84a48d3603",
  "url": "https://osv.dev/vulnerability/CVE-2018-19857",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19857",
    "summary": "The CAF demuxer in modules/demux/caf.c in VideoLAN VLC media player 3.0.4 may read memory from an uninitialized pointer when processing magic cookies in CAF files, because a ReadKukiChunk() cast converts a return value to an unsigned int even if that value is negative. This could result in a denial of service and/or a potential infoleak.",
    "evidence": "osv:CVE-2018-19857",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-19857",
      "aliases": [
        "CVE-2018-19857"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/videolan/vlc-3.0",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f615db63323905da6bdff735c1c717e33e3024fa"
                },
                {
                  "last_affected": "f615db63323905da6bdff735c1c717e33e3024fa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:videolan:vlc_media_player:3.0.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.4"
                      },
                      {
                        "last_affected": "3.0.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19857.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:37.325288166Z",
      "provider": "osv",
      "references": [
        "https://git.videolan.org/?p=vlc.git%3Ba=commit%3Bh=0cc5ea748ee5ff7705dde61ab15dff8f58be39d0",
        "https://usn.ubuntu.com/4074-1/",
        "https://www.debian.org/security/2019/dsa-4366",
        "https://dyntopia.com/advisories/013-vlc"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-19857",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434195,
  "published_at": "2018-12-05T11:29:05.827+00:00"
}