CVE-2021-32142
Publication date 17 February 2023
Last updated 11 July 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attacker to escalate privileges via the LibRaw_buffer_datastream::gets(char*, int) in /src/libraw/src/libraw_datastream.cpp.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| darktable | 25.10 questing | 
                                Needs evaluation 
                                
                               | 
| 25.04 plucky | 
                                Needs evaluation 
                                
                               | |
| 24.04 LTS noble | 
                                Needs evaluation 
                                
                               | |
| 22.04 LTS jammy | 
                                Needs evaluation 
                                
                               | |
| 20.04 LTS focal | 
                                Needs evaluation 
                                
                               | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| dcraw | 25.10 questing | 
                                Needs evaluation 
                                
                               | 
| 25.04 plucky | 
                                Needs evaluation 
                                
                               | |
| 24.04 LTS noble | 
                                Needs evaluation 
                                
                               | |
| 22.04 LTS jammy | 
                                Needs evaluation 
                                
                               | |
| 20.04 LTS focal | 
                                Needs evaluation 
                                
                               | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| digikam | 25.10 questing | 
                                Not affected 
                                
                               | 
| 25.04 plucky | 
                                Not affected 
                                
                               | |
| 24.04 LTS noble | 
                                Not affected 
                                
                               | |
| 22.04 LTS jammy | 
                                Not affected 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 4:6.4.0+dfsg-3ubuntu0.1~esm1 
                                
                                   | |
| 18.04 LTS bionic | 
                                Not affected 
                                
                               | |
| 16.04 LTS xenial | 
                                Not affected 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| exactimage | 25.10 questing | 
                                Needs evaluation 
                                
                               | 
| 25.04 plucky | 
                                Needs evaluation 
                                
                               | |
| 24.04 LTS noble | 
                                Needs evaluation 
                                
                               | |
| 22.04 LTS jammy | 
                                Needs evaluation 
                                
                               | |
| 20.04 LTS focal | 
                                Needs evaluation 
                                
                               | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| kodi | 25.10 questing | 
                                Needs evaluation 
                                
                               | 
| 25.04 plucky | 
                                Needs evaluation 
                                
                               | |
| 24.04 LTS noble | 
                                Needs evaluation 
                                
                               | |
| 22.04 LTS jammy | 
                                Needs evaluation 
                                
                               | |
| 20.04 LTS focal | 
                                Needs evaluation 
                                
                               | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Not in release | |
| libraw | 25.10 questing | 
                                Fixed 0.20.2-2.1ubuntu1 
                                
                               | 
| 25.04 plucky | 
                                Fixed 0.20.2-2.1ubuntu1 
                                
                               | |
| 24.04 LTS noble | 
                                Fixed 0.20.2-2.1ubuntu1 
                                
                               | |
| 22.04 LTS jammy | 
                                Fixed 0.20.2-2ubuntu2.22.04.1 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 0.19.5-1ubuntu1.2 
                                
                               | |
| 18.04 LTS bionic | 
                                Vulnerable 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| rawtherapee | 25.10 questing | 
                                Needs evaluation 
                                
                               | 
| 25.04 plucky | 
                                Needs evaluation 
                                
                               | |
| 24.04 LTS noble | 
                                Needs evaluation 
                                
                               | |
| 22.04 LTS jammy | 
                                Needs evaluation 
                                
                               | |
| 20.04 LTS focal | 
                                Needs evaluation 
                                
                               | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| ufraw | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | 
                                Needs evaluation 
                                
                               | |
| 16.04 LTS xenial | 
                                Needs evaluation 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | |
| xbmc | ||
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic | Not in release | |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Ignored end of standard support | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
mdeslaur
This is a stack overflow and is limited to a denial of service on Ubuntu because of compiler hardening features.
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-6137-1
- LibRaw vulnerabilities
- 5 June 2023
- USN-7266-1
- digiKam vulnerabilities
- 13 February 2025