CVE-2021-20307
Critical · 9.8CVSS
9.8
EPSS
1.9%
Published
Apr 5, 2021
CISA due date
—
Cloudanix analysis
A flaw in panoramic photo handling software can let attackers take over computers by sending specially crafted image data.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A format string vulnerability in panoFileOutputNamesCreate() permits an attacker to supply format specifiers that result in arbitrary memory reads and writes.
Why it matters to the business
Successful exploitation can grant attackers complete control over systems processing panoramic images, enabling data theft, service disruption, or further compromise in environments relying on the vulnerable library.
How an attack unfolds
An attacker supplies a malicious input string containing format specifiers to an application that invokes panoFileOutputNamesCreate, causing the function to treat the input as a format string and perform uncontrolled memory operations leading to read/write primitives.
How to fix it
Upgrade libpano13 to a patched release that corrects the format string handling. Apply vendor updates from Fedora and Debian package maintainers. Where updates are unavailable, replace the library or isolate affected components behind strict input validation.
How to confirm the fix worked
Confirm installed libpano13 versions exceed the vulnerable range, review source or binary for sanitized format string usage, and perform regression testing on image processing paths that call panoFileOutputNamesCreate.
Typical attack path
- Locate an application or service that links against a vulnerable version of libpano13
- Craft input containing format specifiers such as %n, %s, or %x sequences
- Trigger the panoFileOutputNamesCreate function via normal image processing workflows
- Leverage resulting memory corruption primitives to achieve arbitrary read/write or code execution
How to detect it
Inspect application logs for crashes or error messages originating from panoFileOutputNamesCreate, monitor for unusual memory allocation patterns or segmentation faults during image processing, and review audit trails of inputs containing percent signs or format-like sequences.
What your security team should do
- Inventory all systems and containers depending on libpano13 and schedule immediate upgrades
- Implement input sanitization or wrapper functions around panoramic image handling code
- Add runtime monitoring for abnormal memory access or crashes in image-processing processes
- Review dependency graphs for downstream packages that transitively include the library
The record
Format string vulnerability in panoFileOutputNamesCreate() in libpano13 2.9.20~rc2+dfsg-3 and earlier can lead to read and write arbitrary memory values.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libpano13 | 0 | 2.9.20~rc3+dfsg-1 |
| Debian:12 | libpano13 | 0 | 2.9.20~rc3+dfsg-1 |
| Debian:13 | libpano13 | 0 | 2.9.20~rc3+dfsg-1 |
| Debian:9 | libpano13 | 0 | 2.9.19+dfsg-2+deb9u1 |
| Mageia:7 | libpano13 | 0 | 2.9.20-1.mga7 |
| Mageia:8 | libpano13 | 0 | 2.9.20-1.mga8 |
| Ubuntu:20.04:LTS | libpano13 | 0 | 2.9.19+dfsg-3ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | libpano13 | 0 | 2.9.20~rc3+dfsg-1 |
| Ubuntu:22.04:LTS | libpano13 | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | libpano13 | 0 | 2.9.18+dfsg-6ubuntu2+esm1 |
| Ubuntu:Pro:16.04:LTS | libpano13 | 0 | 2.9.19+dfsg-2ubuntu0.1~esm1 |
| Ubuntu:Pro:18.04:LTS | libpano13 | 0 | 2.9.19+dfsg-3ubuntu0.18.04.1~esm1 |
| Ubuntu:Pro:22.04:LTS | libpano13 | 0 | 2.9.20~rc3+dfsg-1ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-73782 A format string vulnerability exists in the command line interface of AOS-CX that could… CWE-134
- CVE-2026-16821 IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a local attacker to gain… CWE-134
- CVE-2026-81574 In CodeMeter Runtime before versions 8.41a and 9.10, the logger does not sanitize input… CWE-134
- CVE-2026-63073 Issue summary: OpenSSL CMP response validation passed an unexpected response sender… CWE-134
- CVE-2026-17136 IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a remote attacker to execute… CWE-134
- CVE-2026-68553 Coturn is a free open source implementation of TURN and STUN Server. CWE-134
- CVE-2026-15961 IBM PowerVM Hypervisor FW1120.00, FW1110.00 through FW1110.30, and FW1060.00 through… CWE-134
- CVE-2026-12004 IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Verify Identity Access 11.0… CWE-134