CVE-2013-2126: Multiple double free vulnerabilities in the LibRaw::unpack function in libraw_cxx.cpp in LibRaw before 0.15.2 allow context-dependent…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.4% (FIRST EPSS); higher than 91.6% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: darktable (Debian:12) 1.2.1-2; libraw (Debian:12) 0.15.3-1; libkdcraw (Debian:13) 24.12.0-1.
Low priority for now. Upgrade to darktable (Debian:12) 1.2.1-2; libraw (Debian:12) 0.15.3-1; libkdcraw (Debian:13) 24.12.0-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Multiple double free vulnerabilities in the LibRaw::unpack function in libraw_cxx.cpp in LibRaw before 0.15.2 allow context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a malformed full-color (1) Foveon or (2) sRAW image file.
- Published
- Aug 14, 2013
- Updated
- Jun 16, 2026
- EPSS
- 4.4% · 91th percentile
- CWE
- CWE-399
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libraw | libraw | cpe:2.3:a:libraw:libraw |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux12.10
- canonical ubuntu linux13.04
- libraw librawup to 0.15.1 inclusive
- libraw libraw0.15.0
- opensuse opensuse12.2
- opensuse opensuse12.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | darktable | before 1.2.1-2 | 1.2.1-2 |
| Debian:12 | libraw | before 0.15.3-1 | 0.15.3-1 |
| Debian:13 | libkdcraw | before 24.12.0-1 | 24.12.0-1 |
| openSUSE:Tumbleweed | libraw | before 0.17.2-1.4 | 0.17.2-1.4 |
Same product
libraw: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-8367The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related…41Plan
- CVE-2015-8366Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows context-dependent attackers to cause memory errors and…41Plan
- CVE-2017-14265A Stack-based Buffer Overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before 0.18.3.40Plan
Published before and after this one in the same product
- Later →CVE-2013-2127Aug 14, 2013 · Buffer overflow in the exposure correction code in LibRaw before 0.15.1 allows context-dependent attackers to cause a denial of service…31Monitor
- Later →CVE-2013-1439Sep 16, 2013 · The "faster LJPEG decoder" in libraw 0.13.x, 0.14.x, and 0.15.x before 0.15.4 allows context-dependent attackers to cause a denial of…18Monitor
- Later →CVE-2017-6886May 16, 2017 · An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to corrupt…40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:darktable | 1.2.1-2 · Debian:12 | Package registry (OSV) |
| debian:libkdcraw | 24.12.0-1 · Debian:13 | Package registry (OSV) |
| debian:libraw | 0.15.3-1 · Debian:12 | Package registry (OSV) |
| opensuse:libraw | 0.17.2-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.opensuse.org/opensuse-updates/2013-06/msg00195.html
- secunia.com/advisories/53547
- secunia.com/advisories/53883
- secunia.com/advisories/53888
- secunia.com/advisories/53938
- www.libraw.org/news/libraw-0-15-2
- www.openwall.com/lists/oss-security/2013/05/29/7
- www.openwall.com/lists/oss-security/2013/06/10/1
- www.ubuntu.com/usn/USN-1884-1
- www.ubuntu.com/usn/USN-1885-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.