Read the docs
TI-2021-20504 Aliases CVE-2021-45385GHSA-2php-7prq-766p

A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in…

Priority LOW 31CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-476.

Summary

A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load(). When the size information in metadata of the bmp is out of range, it returns without assign memory buffer to `pb->pdata` and did not exit the program. So the program crashes when it tries to access the pb->data, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.

Why it matters now

EPSS 0.00893 59th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rockcarry:ffjpeg:2021-12-06:*:*:*:*:*:*:*2021-12-06VulnerableRockcarry
  • cpe:2.3:a:rockcarry:ffjpeg:2021-12-06:*:*:*:*:*:*:* Versions 2021-12-06 Vulnerable ·Rockcarry

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-45385
  2. 2026-10-03 Alias added: GHSA-2php-7prq-766p

References

  • TI-2020-14850 Buffer Overflow vulnerability in jfif_decode() function in rockcarry ffjpeg through… CVSS 3.1HIGH 7.8
  • TI-2019-12305 ffjpeg before 2019-08-18 has a NULL pointer dereference in huffman_decode_step() at huffman.c. CVSS 3.1MEDIUM 6.5
  • TI-2019-12304 ffjpeg before 2019-08-18 has a NULL pointer dereference in idct2d8x8() at dct.c. CVSS 3.1MEDIUM 6.5
  • TI-2018-12017 ffjpeg.dll in ffjpeg before 2018-08-22 allows remote attackers to cause a denial of… CVSS 3.0MEDIUM 6.5
  • TI-2022-11191 In ffjpeg (commit hash: caade60), the function bmp_load() in bmp.c contains an integer… CVSS 3.1MEDIUM 6.5
  • TI-2020-14646 A global buffer overflow vulnerability in jfif_encode at jfif.c:701 of ffjpeg through… CVSS 3.1MEDIUM 6.5
See all 18 →

Sources