CVE-2020-11105
publishedcereal: std:: shared_ptr serialization asymmetry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | cereal-develaarch64 | Advisory build | 1.3.2-1.1 | OPENSUSE-SU-2024:12197-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cereal-develppc64le | Advisory build | 1.3.2-1.1 | OPENSUSE-SU-2024:12197-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cereal-devels390x | Advisory build | 1.3.2-1.1 | OPENSUSE-SU-2024:12197-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cereal-develx86_64 | Advisory build | 1.3.2-1.1 | OPENSUSE-SU-2024:12197-1 |
Description
An issue was discovered in USC iLab cereal through 1.3.0. It employs caching of std::shared_ptr values, using the raw pointer address as a unique identifier. This becomes problematic if an std::shared_ptr variable goes out of scope and is freed, and a new std::shared_ptr is allocated at the same address. Serialization fidelity thereby becomes dependent upon memory layout. In short, serialized std::shared_ptr variables cannot always be expected to serialize back into their original values. This can have any number of consequences, depending on the context within which this manifests.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
1Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac7cae4916fcd2ba94f94196ac7e1cf911435200d330a56c745f474f2b611d15
- Ingested
- 23 Sep 2026, 07:48:17 UTC
- Source record
- Official CVE record