GHSA-85rr-4rh9-hhwh · Severity: medium · Ecosystem: pip — Memory leak in Nanopb
Nanopb is a small code-size Protocol Buffers implementation. In Nanopb before versions 0.4.4 and 0.3.9.7, decoding specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern when untrusted data is parsed. This is fixed in versions 0.3.9.7 and 0.4.4. The following workarounds are available: 1) Set the option `no_unions` for the oneof field. This will generate fields as separate instead of C union, and avoids triggering the problematic code. 2) Set the type of the submessage field inside oneof to `FT_POINTER`. This way the whole submessage will be dynamically allocated and the problematic code is not executed. 3) Use an arena allocator for nanopb, to make sure all memory can be released afterwards.
Conclusion & alert: CVE-2020-26243 is rated High Exploit Risk (69.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.53%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-01 | 0.11% | 0.53% | +0.42% |
| 2 | 2025-11-21 | 0.55% | 0.11% | -0.44% |
| 3 | 2025-11-18 | — | 0.55% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-85rr-4rh9-hhwh · Severity: medium · Ecosystem: pip — Memory leak in Nanopb
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2020-26243 not yet assigned priority: Debian including 1 source packages (nanopb), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2020-26243 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2020-26243 |
ubuntu
|
medium | CVE-2020-26243 medium priority: Ubuntu including 1 source packages (nanopb), 15 status rows across 15 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 9, DNE 3, released 2, ignored 1. | https://ubuntu.com/security/CVE-2020-26243 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| nanopb_project | nanopb | < 0.3.9.7 | cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* |
| nanopb_project | nanopb | >= 0.4.0, < 0.4.4 | cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/nanopb/nanopb/blob/2b48a361786dfb1f63d229840217a93aae064667/CHANGELOG.txt | Release Notes Third Party Advisory |
| https://github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c | Patch Third Party Advisory |
| https://github.com/nanopb/nanopb/issues/615 | Exploit Patch Third Party Advisory |
| https://github.com/nanopb/nanopb/security/advisories/GHSA-85rr-4rh9-hhwh | Third Party Advisory |