Skip to content
FlawDB
Sign in

CVE-2026-141548

LOW 3.3

pymonocypher: argon2i_32 can overflow the heap on 32-bit builds when nb_blocks >= 2**22 (work area size wraps)

AI summary AI generated

An attacker can trigger an out-of-bounds heap write via an oversized nb_blocks value in pymonocypher's argon2i_32 on 32-bit builds, crashing the calling process.

Mitigation

  • Upgrade pymonocypher to 4.0.3.6 or later.

Who should check

  • Anyone running jetperch pymonocypher >= 4.0.2.4, < 4.0.3.6

Vulnerability facts

Affected
jetperch pymonocypher >= 4.0.2.4, < 4.0.3.6
Fixed in
jetperch pymonocypher 4.0.3.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
CWE
CWE-190, CWE-787
Published
Modified

Description

pymonocypher uses cython to wrap the Monocypher C library. From 4.0.2.4 until 4.0.3.6, argon2i_32 in c_monocypher.pyx multiplies nb_blocks by 1024 in a 32-bit size_t, causing the allocated work-area size to wrap when nb_blocks is at least 2**22. When the smaller allocation succeeds, crypto_argon2 fills 1024-byte blocks up to nb_blocks rounded down to a multiple of four, causing an out-of-bounds heap write that can crash the calling process. If the allocation fails, the call instead raises MemoryError. An affected application must run a 32-bit build and pass an attacker-influenced nb_blocks value without bounding it below 2**22; 64-bit builds and callers enforcing that bound are not affected. This issue is fixed in version 4.0.3.6.

Affected and fixed versions

Package / productAffectedFixedSource
jetperch pymonocypher>= 4.0.2.4, < 4.0.3.6—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: pymonocypher From 4.0.2.4 until 4.0.3.6 From 4.0.2.4 until 4.0.3.6
  • Fixed: pymonocypher 4.0.3.6 This issue is fixed in version 4.0.3.6.

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-141548. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-141548.md
Affected: jetperch pymonocypher >= 4.0.2.4, < 4.0.3.6
Fixed in: jetperch pymonocypher 4.0.3.6

Steps:
1. Search this machine and project for jetperch pymonocypher: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-141548 being exploited?

There is no confirmed exploitation: CVE-2026-141548 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-141548?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-141548?

jetperch pymonocypher >= 4.0.2.4, < 4.0.3.6.

Is there a fix for CVE-2026-141548?

Yes. Fixed in jetperch pymonocypher 4.0.3.6. Upgrade pymonocypher to 4.0.3.6 or later.

How do I check if I'm affected by CVE-2026-141548?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors