ubuntu-cve-2026-1940
Vulnerability from osv_ubuntu
Published
2026-03-23 22:16
Modified
2026-05-07 12:25
Summary
Details

An incomplete fix for CVE-2024-47778 allows an out-of-bounds read in gst_wavparse_adtl_chunk() function. The patch added a size validation check lsize + 8 > size, but it does not account for the GST_ROUND_UP_2(lsize) used in the actual offset calculation. When lsize is an odd number, the parser advances more bytes than validated, causing OOB read.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gstreamer1.0-hybris",
            "binary_version": "1.2.4-1~ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.2.4-1~ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-faad",
            "binary_version": "1.2.4-1~ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-videoparsers",
            "binary_version": "1.2.4-1~ubuntu1.1"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.2.4-1~ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.2.4-1~ubuntu1.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.0-3ubuntu5",
        "1.2.1-1ubuntu1",
        "1.2.1-1ubuntu2",
        "1.2.2-1ubuntu1",
        "1.2.2-1ubuntu2",
        "1.2.2-1ubuntu4",
        "1.2.3-1ubuntu1",
        "1.2.3-1ubuntu2",
        "1.2.4-1~ubuntu1",
        "1.2.4-1~ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          },
          {
            "binary_name": "gstreamer1.0-hybris",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-faad",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-videoparsers",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.8.3-1ubuntu0.2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.8.3-1ubuntu0.2+esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.0-1ubuntu1",
        "1.6.1-1ubuntu1",
        "1.6.2-1ubuntu1",
        "1.7.1-1ubuntu1",
        "1.7.1-1ubuntu3",
        "1.7.1-1ubuntu4",
        "1.7.2-1ubuntu1",
        "1.7.90-1ubuntu2",
        "1.7.91-1ubuntu1",
        "1.8.0-1ubuntu1",
        "1.8.1-1ubuntu0.1",
        "1.8.2-1ubuntu0.1",
        "1.8.2-1ubuntu0.2",
        "1.8.3-1ubuntu0.2",
        "1.8.3-1ubuntu0.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.14.5-0ubuntu1~18.04.1+esm1"
          },
          {
            "binary_name": "gstreamer1.0-opencv",
            "binary_version": "1.14.5-0ubuntu1~18.04.1+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.14.5-0ubuntu1~18.04.1+esm1"
          },
          {
            "binary_name": "libgstreamer-opencv1.0-0",
            "binary_version": "1.14.5-0ubuntu1~18.04.1+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.14.5-0ubuntu1~18.04.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.14.5-0ubuntu1~18.04.1+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.12.3-1ubuntu1",
        "1.12.3-1ubuntu2",
        "1.12.3-2ubuntu1",
        "1.12.4-2ubuntu1",
        "1.12.4-2ubuntu2",
        "1.13.1-1ubuntu1",
        "1.13.91-1ubuntu1",
        "1.14.0-1ubuntu1",
        "1.14.1-1ubuntu1~ubuntu18.04.1",
        "1.14.4-1ubuntu1~ubuntu18.04.1",
        "1.14.5-0ubuntu1~18.04.1",
        "1.14.5-0ubuntu1~18.04.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.16.3-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "gstreamer1.0-opencv",
            "binary_version": "1.16.3-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.16.3-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "libgstreamer-opencv1.0-0",
            "binary_version": "1.16.3-0ubuntu1.1+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.16.3-0ubuntu1.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.16.3-0ubuntu1.1+esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.16.1-1ubuntu1",
        "1.16.1-1ubuntu3",
        "1.16.1-1ubuntu4",
        "1.16.1-1ubuntu5",
        "1.16.1-1ubuntu6",
        "1.16.1-1ubuntu8",
        "1.16.2-1ubuntu1",
        "1.16.2-1ubuntu2",
        "1.16.2-2ubuntu1",
        "1.16.2-2.1ubuntu1",
        "1.16.3-0ubuntu1",
        "1.16.3-0ubuntu1.1",
        "1.16.3-0ubuntu1.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "gstreamer1.0-opencv",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-apps",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "gstreamer1.0-wpe",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "libgstreamer-opencv1.0-0",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.20.3-0ubuntu1.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.20.3-0ubuntu1.1+esm2?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.18.5-1ubuntu1",
        "1.18.5-1ubuntu3",
        "1.20.0-2ubuntu2",
        "1.20.1-1ubuntu2",
        "1.20.3-0ubuntu1",
        "1.20.3-0ubuntu1.1",
        "1.20.3-0ubuntu1.1+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          },
          {
            "binary_name": "gstreamer1.0-opencv",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-apps",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          },
          {
            "binary_name": "libgstreamer-opencv1.0-0",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.24.2-1ubuntu4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.24.2-1ubuntu4+esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.22.4-1ubuntu1",
        "1.22.4-1ubuntu2",
        "1.22.4-1ubuntu4",
        "1.22.9-2ubuntu1",
        "1.24.0-1ubuntu3",
        "1.24.0-1ubuntu4",
        "1.24.2-1ubuntu4",
        "1.24.2-1ubuntu4+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gst-plugins-bad-1.0",
            "binary_version": "1.26.5-1ubuntu2"
          },
          {
            "binary_name": "gstreamer1.0-opencv",
            "binary_version": "1.26.5-1ubuntu2"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad",
            "binary_version": "1.26.5-1ubuntu2"
          },
          {
            "binary_name": "gstreamer1.0-plugins-bad-apps",
            "binary_version": "1.26.5-1ubuntu2"
          },
          {
            "binary_name": "libgstreamer-opencv1.0-0",
            "binary_version": "1.26.5-1ubuntu2"
          },
          {
            "binary_name": "libgstreamer-plugins-bad1.0-0",
            "binary_version": "1.26.5-1ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "gst-plugins-bad1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-bad1.0@1.26.5-1ubuntu2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.26.0-1ubuntu2",
        "1.26.2-1ubuntu1",
        "1.26.3-1ubuntu1",
        "1.26.4-1ubuntu1",
        "1.26.5-1ubuntu2"
      ]
    }
  ],
  "aliases": [],
  "details": "An incomplete fix for CVE-2024-47778 allows an out-of-bounds read in gst_wavparse_adtl_chunk() function. The patch added a size validation check lsize + 8 \u003e size, but it does not account for the GST_ROUND_UP_2(lsize) used in the actual offset calculation. When lsize is an odd number, the parser advances more bytes than validated, causing OOB read.",
  "id": "UBUNTU-CVE-2026-1940",
  "modified": "2026-05-07T12:25:58Z",
  "published": "2026-03-23T22:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-1940"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-1940"
    },
    {
      "type": "REPORT",
      "url": "https://gstreamer.freedesktop.org/security/sa-2026-0001.html"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-1940"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…