UBUNTU-CVE-2022-26496 (CVE-2022-26496)

Vulnerability from osv_ubuntu – Published: 2022-03-06 06:15 – Updated: 2025-10-24 04:53 – Source website
VLAI
Details

In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "nbd-client",
            "binary_version": "1:3.7-1ubuntu0.1"
          },
          {
            "binary_name": "nbd-server",
            "binary_version": "1:3.7-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "nbd",
        "purl": "pkg:deb/ubuntu/nbd@1:3.7-1ubuntu0.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.3-3ubuntu1",
        "1:3.4-1ubuntu1",
        "1:3.4-2ubuntu1",
        "1:3.5-1ubuntu1",
        "1:3.6-1ubuntu1",
        "1:3.7-1",
        "1:3.7-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "nbd-client",
            "binary_version": "1:3.13-1"
          },
          {
            "binary_name": "nbd-server",
            "binary_version": "1:3.13-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "nbd",
        "purl": "pkg:deb/ubuntu/nbd@1:3.13-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.10-1",
        "1:3.13-1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "nbd-client",
            "binary_version": "1:3.16.2-1ubuntu0.2"
          },
          {
            "binary_name": "nbd-server",
            "binary_version": "1:3.16.2-1ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "nbd",
        "purl": "pkg:deb/ubuntu/nbd@1:3.16.2-1ubuntu0.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:3.16.2-1ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.15.2-3",
        "1:3.16.2-1",
        "1:3.16.2-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "nbd-client",
            "binary_version": "1:3.20-1ubuntu0.1"
          },
          {
            "binary_name": "nbd-server",
            "binary_version": "1:3.20-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "nbd",
        "purl": "pkg:deb/ubuntu/nbd@1:3.20-1ubuntu0.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:3.20-1ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.19-3",
        "1:3.20-1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "nbd-client",
            "binary_version": "1:3.23-3ubuntu1"
          },
          {
            "binary_name": "nbd-server",
            "binary_version": "1:3.23-3ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "nbd",
        "purl": "pkg:deb/ubuntu/nbd@1:3.23-3ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:3.23-3ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.21-1build3",
        "1:3.22-1",
        "1:3.23-3"
      ]
    }
  ],
  "aliases": [],
  "details": "In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.",
  "id": "UBUNTU-CVE-2022-26496",
  "modified": "2025-10-24T04:53:34Z",
  "published": "2022-03-06T06:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-26496"
    },
    {
      "type": "REPORT",
      "url": "https://lists.debian.org/nbd/2022/01/msg00036.html"
    },
    {
      "type": "REPORT",
      "url": "https://lists.debian.org/nbd/2022/01/msg00037.html"
    },
    {
      "type": "REPORT",
      "url": "https://sourceforge.net/projects/nbd/files/nbd/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5323-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-26496"
    }
  ],
  "related": [
    "USN-5323-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-26496"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…