🛡️ CVE-2022-44321 — picoc

🟡 CVSS 5.5 — Medium ⚠️ Exploit Public CWE-787 NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2022-44321 is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.

Affected software

CVE-2022-44321 is recorded against 1 package.

  • picoc

Timeline and source

Published on 8 November 2022 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. Record sourced from NVD.

References

github.com
gitlab.com
github.com
gitlab.com

Details

Severity MEDIUM
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE CWE-787
Public Exploit ⚠️ Yes
Source NVD
Published 2022-11-08
Updated 2026-08-11
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
picoc

References

Exploit, Issue Tracking, Third Party Advisory https://github.com/jpoirier/picoc/issues/37
Exploit, Issue Tracking, Third Party Advisory https://gitlab.com/zsaleeba/picoc/-/issues/48
Exploit, Issue Tracking, Third Party Advisory https://github.com/jpoirier/picoc/issues/37
Exploit, Issue Tracking, Third Party Advisory https://gitlab.com/zsaleeba/picoc/-/issues/48

Similar Threats

Exploit Protection

Are you running picoc?

CVE-2022-44321 carries CVSS 5.5 Medium rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2022-44321 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022