CVE-2018-7186
Leptonica before 1.75.3 does not limit the number of characters in a % ...
Overview
Description
Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 6 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | leptonlib | 1.75.3-2 |
| 12 | leptonlib | 1.75.3-2 |
| 13 | leptonlib | 1.75.3-2 |
| 14 | leptonlib | 1.75.3-2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| leptonlib | 1.75.3-2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | leptonica-devel +3 | 1.80.0-1.9 | openSUSE-SU-2024:10914-1 |
References
- bugs.debian.org https://bugs.debian.org/890548
- github.com https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html
- lists.debian.org https://lists.debian.org/debian-lts/2018/02/msg00054.html
- security.gentoo.org https://security.gentoo.org/glsa/202312-01
- ubuntu.com https://ubuntu.com/security/notices/USN-4819-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-7186
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.