ImageMagick before 7.1.2-26 and 6.9.13-51 contains a memory leak in the hough lines operation: when a specific operation fails, a small memory leak… (CVE-2026-61865)
Description
ImageMagick versions before 7.1.2-26 and 6.9.13-51 contain a memory leak vulnerability in the hough lines operation. This occurs when a specific operation fails, causing a small memory leak. The vulnerability has a medium severity with a CVSS score of 2.9. A patch is available to address this issue.
CVSS v3.1
Score 2.9low
Affected software
pkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/imagemagick?arch=source&distro=stonkingpkg:deb/ubuntu/imagemagick?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-61865 describes a memory leak vulnerability in ImageMagick's hough lines operation present in versions prior to 7.1.2-26 and 6.9.13-51. When a particular operation within this function fails, a small amount of memory is not properly released, leading to a memory leak. The vulnerability has been assigned a CVSS v3.1 score of 2.9, indicating low impact on confidentiality and integrity but some impact on availability due to resource exhaustion. Multiple affected versions, including various Ubuntu package versions, are listed. Official patches are available as per Ubuntu security notices USN-8739-1 and USN-8739-2.
Potential Impact
The vulnerability causes a memory leak in the hough lines operation of ImageMagick, which could lead to resource exhaustion and reduced availability of the affected system or service. There is no impact on confidentiality or integrity. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch is available and should be applied to affected ImageMagick versions. Refer to the official Ubuntu security notices USN-8739-1 and USN-8739-2 for patch details and update instructions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-61865
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
- Cvss Version
- 3.1
Patch Information
Threat ID: 6ad3f5cb2cdf04f656662923
Added to database: 10/17/2026, 22:25:15 UTC
Last enriched: 10/18/2026, 00:21:27 UTC
Last updated: 10/18/2026, 00:21:27 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.