Skip to content
Heist/ feed
Back to feed
Low

Stack buffer overflow in "read_file" function

Type: advisorySources: OSV

A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in openSUSE libeconf leads to DoS via malformed config files. This issue affects libeconf: before 0.5.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-22652
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:01 UTC · Revision 1

Source evidence

Stack buffer overflow in "read_file" function

core-osv · Original source

Published 1 Jun 2023, 11:51 UTC

A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in openSUSE libeconf leads to DoS via malformed config files. This issue affects libeconf: before 0.5.2.

osv:CVE-2023-22652
Complete source record
{
  "id": "582f64ef6ee28e4a4a4e9bdd718de161004dafcba89d725122b7900edc848ad0",
  "url": "https://osv.dev/vulnerability/CVE-2023-22652",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stack buffer overflow in \"read_file\" function",
    "summary": "A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in openSUSE libeconf leads to DoS via malformed config files. This issue affects libeconf: before 0.5.2.",
    "evidence": "osv:CVE-2023-22652",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2023-22652",
      "aliases": [
        "CVE-2023-22652"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opensuse/libeconf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "535641ce1131db19d526e0f1d1d43437b87add44"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "?"
                      },
                      {
                        "fixed": "0.5.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:opensuse:libeconf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.5.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.5.1",
            "v0.5.0",
            "v0.4.9",
            "v0.0.9",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "0.4.2",
            "0.4.1",
            "0.4.0",
            "v0.3.8",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "0.3.5",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22652.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.784030823Z",
      "provider": "osv",
      "references": [
        "https://https://github.com/openSUSE/libeconf/issues/177",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00016.html",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SDD5GL5T3V5XZ3VFA4HPE6YGJ2K4HHPC/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMG5256D5I3GFA3RBAJQ2WYPJDYAIL74/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YAYW7X753Z6GOJKVLQPXBDHISN6ZT233/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22652.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-22652",
        "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-22652",
        "https://github.com/openSUSE/libeconf",
        "https://github.com/openSUSE/libeconf/issues/177"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-120"
        ],
        "cna_assigner": "suse",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22652.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-22652",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492364,
  "published_at": "2023-06-01T11:51:15.111+00:00"
}