ubuntu-cve-2026-37555
Vulnerability from osv_ubuntu
Published
2026-04-29 16:16
Modified
2026-06-30 16:20
Summary
Details

An issue was discovered in libsndfile 1.2.2 IMA ADPCM codec. The AIFF code path (line 241) was fixed with (sf_count_t) cast, but the WAV code path (line 235) and close path (line 167) were not. When samplesperblock (int) * blocks (int) exceeds INT_MAX, the 32-bit multiplication overflows before being assigned to sf.frames (sf_count_t/int64). With samplesperblock=50000 and blocks=50000, the product 2500000000 overflows to -1794967296. This causes incorrect frame count leading to heap buffer overflow or denial of service. Both values come from the WAV file header and are attacker-controlled. This issue was discovered after an incomplete fix for CVE-2022-33065.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.0.25-7ubuntu2.2+esm4"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.0.25-7ubuntu2.2+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.0.25-7ubuntu2.2+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.25-7ubuntu1",
        "1.0.25-7ubuntu2",
        "1.0.25-7ubuntu2.1",
        "1.0.25-7ubuntu2.2",
        "1.0.25-7ubuntu2.2+esm1",
        "1.0.25-7ubuntu2.2+esm2",
        "1.0.25-7ubuntu2.2+esm3",
        "1.0.25-7ubuntu2.2+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.0.25-10ubuntu0.16.04.3+esm4"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.0.25-10ubuntu0.16.04.3+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.0.25-10ubuntu0.16.04.3+esm4?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.25-9.1",
        "1.0.25-10",
        "1.0.25-10ubuntu0.16.04.1",
        "1.0.25-10ubuntu0.16.04.2",
        "1.0.25-10ubuntu0.16.04.3",
        "1.0.25-10ubuntu0.16.04.3+esm1",
        "1.0.25-10ubuntu0.16.04.3+esm2",
        "1.0.25-10ubuntu0.16.04.3+esm3",
        "1.0.25-10ubuntu0.16.04.3+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.0.28-4ubuntu0.18.04.2+esm2"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.0.28-4ubuntu0.18.04.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.0.28-4ubuntu0.18.04.2+esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.28-4",
        "1.0.28-4ubuntu0.18.04.1",
        "1.0.28-4ubuntu0.18.04.2",
        "1.0.28-4ubuntu0.18.04.2+esm1",
        "1.0.28-4ubuntu0.18.04.2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.0.28-7ubuntu0.3"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.0.28-7ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.0.28-7ubuntu0.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.28-6",
        "1.0.28-7",
        "1.0.28-7ubuntu0.1",
        "1.0.28-7ubuntu0.2",
        "1.0.28-7ubuntu0.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.0.31-2ubuntu0.2"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.0.31-2ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.0.31-2ubuntu0.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.31-2",
        "1.0.31-2build1",
        "1.0.31-2ubuntu0.1",
        "1.0.31-2ubuntu0.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.2.2-1ubuntu5.24.04.1"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.2.2-1ubuntu5.24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.2.2-1ubuntu5.24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.2-1",
        "1.2.2-1ubuntu2",
        "1.2.2-1ubuntu3",
        "1.2.2-1ubuntu4",
        "1.2.2-1ubuntu5",
        "1.2.2-1ubuntu5.24.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.2.2-3"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.2.2-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.2.2-3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.2-2build1",
        "1.2.2-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsndfile1",
            "binary_version": "1.2.2-4"
          },
          {
            "binary_name": "sndfile-programs",
            "binary_version": "1.2.2-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "libsndfile",
        "purl": "pkg:deb/ubuntu/libsndfile@1.2.2-4?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.2-3",
        "1.2.2-4"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in libsndfile 1.2.2 IMA ADPCM codec. The AIFF code path (line 241) was fixed with (sf_count_t) cast, but the WAV code path (line 235) and close path (line 167) were not. When samplesperblock (int) * blocks (int) exceeds INT_MAX, the 32-bit multiplication overflows before being assigned to sf.frames (sf_count_t/int64). With samplesperblock=50000 and blocks=50000, the product 2500000000 overflows to -1794967296. This causes incorrect frame count leading to heap buffer overflow or denial of service. Both values come from the WAV file header and are attacker-controlled. This issue was discovered after an incomplete fix for CVE-2022-33065.",
  "id": "UBUNTU-CVE-2026-37555",
  "modified": "2026-06-30T16:20:57Z",
  "published": "2026-04-29T16:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-37555"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-37555"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2026/04/30/7"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-37555"
  ]
}



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…