{"api_version":"1","generated_at":"2026-07-24T22:05:02+00:00","cve":"CVE-2021-45423","urls":{"html":"https://cve.report/CVE-2021-45423","api":"https://cve.report/api/cve/CVE-2021-45423.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-45423","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-45423"},"summary":{"title":"CVE-2021-45423","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-03-13 18:15:00","updated_at":"2023-03-24 15:19:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://github.com/merces/libpe/issues/35","name":"https://github.com/merces/libpe/issues/35","refsource":"MISC","tags":[],"title":"Exploitable bug on pe_exports function from exports.c · Issue #35 · merces/libpe · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45423","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45423","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"45423","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pev_project","cpe5":"pev","cpe6":"0.81","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-45423","qid":"183735","title":"Debian Security Update for pev (CVE-2021-45423)"},{"cve":"CVE-2021-45423","qid":"503549","title":"Alpine Linux Security Update for pev"},{"cve":"CVE-2021-45423","qid":"506151","title":"Alpine Linux Security Update for pev"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-45423","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/merces/libpe/issues/35","refsource":"MISC","name":"https://github.com/merces/libpe/issues/35"}]}},"nvd":{"publishedDate":"2023-03-13 18:15:00","lastModifiedDate":"2023-03-24 15:19:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pev_project:pev:0.81:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"45423","Ordinal":"223547","Title":"CVE-2021-45423","CVE":"CVE-2021-45423","Year":"2021"},"notes":[]}}}