CVE-2022-44316
JSON

5.5medium

PicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the LexGetStringConstant function in lex.c when called from LexScan…

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

PicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the LexGetStringConstant function in lex.c when called from LexScanGetToken.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
picoc_project picoc3.2.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

PicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the LexGetStringConstant function in lex.c when called from LexScanGetToken.

NVD (es)

Se descubrió que PicoC versión 3.2.2 contenía un desbordamiento del búfer en la función LexGetStringConstant en lex.c cuando se llamaba desde LexScanGetToken.

References

https://github.com/jpoirier/picoc/issues/37exploit, issue-tracking, third-party-advisory
https://gitlab.com/zsaleeba/picoc/-/issues/48exploit, issue-tracking, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2022-44316 changed 2025-05-01CVE Terms of Use
NVDCVE-2022-44316 changed 2026-06-17Public domain