2026-06-22 15:58CVE-2026-56109VulnCheck
PUBLISHED5.2CWE-415x_open-source

ALSA Library < 1.2.16.1 Double-Free via parse_def() in conf.c

The Advanced Linux Sound Architecture (ALSA) library before 1.2.16.1 contains a double-free vulnerability in parse_def() in src/conf.c that allows attackers to corrupt memory by supplying maliciously crafted ALSA configuration text. When parsing nested compound or array configuration blocks, parse_def() fails to check return values before continuing, causing snd_config_delete() to be called twice on the same already-freed node, resulting in a NULL-pointer write or invalid memory read.

Problem type

Affected products

alsa-project

alsa-lib

< 1.2.16.1 - AFFECTED

References

GitHub Security Advisories

GHSA-jfrh-w252-q2h4

The Advanced Linux Sound Architecture (ALSA) library before 1.2.16.1 contains a double-free...

https://github.com/advisories/GHSA-jfrh-w252-q2h4

The Advanced Linux Sound Architecture (ALSA) library before 1.2.16.1 contains a double-free vulnerability in parse_def() in src/conf.c that allows attackers to corrupt memory by supplying maliciously crafted ALSA configuration text. When parsing nested compound or array configuration blocks, parse_def() fails to check return values before continuing, causing snd_config_delete() to be called twice on the same already-freed node, resulting in a NULL-pointer write or invalid memory read.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-56109
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-56109",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-06-22T17:29:23.873Z",
    "dateReserved": "2026-06-18T19:15:10.650Z",
    "datePublished": "2026-06-22T15:58:42.404Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-06-22T15:58:42.404Z"
      },
      "datePublic": "2026-06-08T00:00:00.000Z",
      "title": "ALSA Library < 1.2.16.1 Double-Free via parse_def() in conf.c",
      "descriptions": [
        {
          "lang": "en",
          "value": "The Advanced Linux Sound Architecture (ALSA) library before 1.2.16.1 contains a double-free vulnerability in parse_def() in src/conf.c that allows attackers to corrupt memory by supplying maliciously crafted ALSA configuration text. When parsing nested compound or array configuration blocks, parse_def() fails to check return values before continuing, causing snd_config_delete() to be called twice on the same already-freed node, resulting in a NULL-pointer write or invalid memory read."
        }
      ],
      "affected": [
        {
          "vendor": "alsa-project",
          "product": "alsa-lib",
          "repo": "https://github.com/alsa-project/alsa-lib",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "1.2.16.1"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Double Free",
              "cweId": "CWE-415",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://lore.kernel.org/alsa-devel/CAGt8pqBU0p2voB+qHxWGcNJrKHAcBhAyHUUBPLBN-Yj_SiV6MQ@mail.gmail.com/",
          "name": "Researcher Disclosure",
          "tags": [
            "technical-description",
            "exploit"
          ]
        },
        {
          "url": "https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.16.1",
          "name": "Release Notes",
          "tags": [
            "release-notes"
          ]
        },
        {
          "url": "https://github.com/alsa-project/alsa-lib/commit/536dd6f8affdf5197c12a63a71c92a70b2833cc0",
          "name": "Patch Commit",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/alsa-library-double-free-via-parse-def-in-conf-c",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
            "attackVector": "LOCAL",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "availabilityImpact": "HIGH",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Dmitrijs Trizna of Aisle Research",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Luigino Camastra of Aisle Research",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Guido Vranken of Aisle Research",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Ze Sheng of Aisle Research",
          "type": "finder"
        }
      ],
      "tags": [
        "x_open-source"
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-06-22T17:29:23.873Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}