Skip to content
Heist/ feed
Back to feed
CriticalFix available

pev — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-45423

A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.

Products
pev
Affected versions
Not specified
Fixed versions
0.81-9
CVEs
CVE-2021-45423
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 01:44 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-45423

core-osv · Original source

Published 13 Mar 2023, 18:15 UTC

A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.

osv:DEBIAN-CVE-2021-45423

pev

Fixed versions: 0.81-9

Complete source record
{
  "id": "b709e6033f350c4b935cc751ff5bc5bb87d6353637529261a36b65a9f41c4576",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-45423",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-45423",
    "summary": "A Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allocated on the stack using exp->NumberOfFunctions as its size. However, the loop uses exp->NumberOfNames to iterate over it and set its components value. Therefore, the loop code assumes that exp->NumberOfFunctions is greater than ordinal at each iteration. This can lead to arbitrary code execution.",
    "evidence": "osv:DEBIAN-CVE-2021-45423",
    "products": [
      {
        "name": {
          "value": "pev",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.81-9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2021-45423",
      "aliases": [
        "DEBIAN-CVE-2021-45423"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.81-9"
                }
              ]
            }
          ],
          "package": {
            "name": "pev",
            "purl": "pkg:deb/debian/pev?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45423.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:04:56.842404271Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-45423"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-45423"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-45423",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 424178,
  "published_at": "2023-03-13T18:15:12.553+00:00"
}