ubuntu-cve-2020-35679
Vulnerability from osv_ubuntu
Published
2020-12-24 16:15
Modified
2026-05-20 14:52
Summary
Details

smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "5.4.1p1-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@5.4.1p1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.3.3p1-4",
        "5.4.1p1-1",
        "5.4.1p1-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "6.6.4p1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@6.6.4p1-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.0.3p1-6",
        "6.0.3p1-6build1",
        "6.6.1p1-1",
        "6.6.1p1-3",
        "6.6.1p1-4",
        "6.6.1p1-5",
        "6.6.2p1-1",
        "6.6.4p1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "6.8.0p2-4build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@6.8.0p2-4build1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.8.0p2-3",
        "6.8.0p2-4",
        "6.8.0p2-4build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "7.4.0p1-1build4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@7.4.0p1-1build4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.3.0p1-1",
        "7.3.0p2-1",
        "7.4.0p1-1",
        "7.4.0p1-1build2",
        "7.4.0p1-1build4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "7.7.0p0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@7.7.0p0-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.5.0p0-1",
        "7.7.0p0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "opensmtpd",
            "binary_version": "7.8.0p0-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "opensmtpd",
        "purl": "pkg:deb/ubuntu/opensmtpd@7.8.0p0-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.7.0p0-1",
        "7.8.0p0-1",
        "7.8.0p0-2"
      ]
    }
  ],
  "aliases": [],
  "details": "smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a \"very significant\" memory leak via messages to an instance that performs many regex lookups.",
  "id": "UBUNTU-CVE-2020-35679",
  "modified": "2026-05-20T14:52:39Z",
  "published": "2020-12-24T16:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-35679"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043"
    },
    {
      "type": "REPORT",
      "url": "https://www.mail-archive.com/misc@opensmtpd.org/msg05188.html"
    },
    {
      "type": "REPORT",
      "url": "https://poolp.org/posts/2020-12-24/december-2020-opensmtpd-6.8.0p1-released-fixed-several-bugs-proposed-several-diffs-book-is-on-github/"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-35679"
    }
  ],
  "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": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-35679"
  ]
}



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…