# libheic 설치 방법

**URL:** https://meta.discourse.org/t/how-to-get-libheic/412496
**Category:** Self-hosting
**Created:** [9월 15, 2026, 4:31오후 UTC](https://meta.discourse.org/t/how-to-get-libheic/412496 "2026-09-15T16:31:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [9월 15, 2026, 4:31오후 UTC](https://meta.discourse.org/t/how-to-get-libheic/412496/1 "2026-09-15T16:31:07Z")

</div>

구버전을 사용하다가 ImageMagick 및/또는 libheif의 보안 문제로 인해 해킹당한 클라이언트가 있습니다. 현재는 최신 ESR로 업데이트했지만, 여전히 1.23.1을 사용 중이며 [SECURITY: Update libheif to 1.23.4 (#1127) · discourse/discourse\_docker@97c20dc · GitHub](https://github.com/discourse/discourse_docker/commit/97c20dc1fdc5ec8865fcdb6c3b108717e41e1b03) 에 포함된 1.23.4를 고집하고 있습니다.

곧 베이스 이미지를 업데이트할 계획이 있나요? 만약 없다면, `templates/web.template.yml`을 편집하여 그곳에서 베이스 이미지를 업데이트하는 것이 가장 좋거나 쉬운 방법인가요? (그리고 베이스 이미지가 실제로 업데이트될 때 편집을 되돌리는 것을 잊지 않기를 바라며요?)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [9월 15, 2026, 4:55오후 UTC](https://meta.discourse.org/t/how-to-get-libheic/412496/2 "2026-09-15T16:55:20Z")

</div>

베이스 이미지를 수동으로 오버라이드하는 것은 권장하지 않습니다. 그렇게 하면 프로덕션 환경에서 테스트하지 않은 이미지를 사용하게 되기 때문입니다. 또한 말씀하신 대로, 고정 해제(pinning 해제)를 잊어버릴 위험도 있습니다.

곧 이미지를 업데이트할 수 있는지 확인해 보겠습니다. 다만, libheif에 존재했던 유형의 취약성을 방어하기 위해 현재 모든 이미지 처리가 샌드박싱되어 있다는 점은 참고할 가치가 있습니다:

> **[RCE via malformed HEIF file](https://github.com/discourse/discourse/security/advisories/GHSA-vhm9-85gw-x335)**
>
> An upstream vulnerability in libheif (CVE-2026-32882) allows for remote code execution via Discourse image uploads.
> 
> The latest Discourse docker image includes the patched version of libheif. Upd...

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [9월 15, 2026, 5:10오후 UTC](https://meta.discourse.org/t/how-to-get-libheic/412496/3 "2026-09-15T17:10:47Z")

</div>

이미지가 업데이트되었습니다: [Bump default base image to discourse/base:2.0.20260915-0028 (#1130) · discourse/discourse\_docker@9384b12 · GitHub](https://github.com/discourse/discourse_docker/commit/9384b129e5031370c4a26935a6987bd3b5b416de)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [9월 15, 2026, 5:37오후 UTC](https://meta.discourse.org/t/how-to-get-libheic/412496/4 "2026-09-15T17:37:47Z")

</div>

```plaintext
root@live:/var/discourse# echo $(docker exec web_only bash -c 'find /usr/lib/ -name libheif*')
/usr/lib/x86_64-linux-gnu/libheif.so.1.23.4 /usr/lib/x86_64-linux-gnu/libheif.so.1

```

감사합니다!
