Hacker ApprovedDepartments

libjxl

Ranked 2 of 3 image codec libraries by recommenders

Reference JPEG XL implementation that compresses images well, especially for archiving; critics cite recurring security vulnerabilities and slow high-effort encoding.

Reference JPEG XL implementation that compresses images well, especially for archiving; critics cite recurring security vulnerabilities and slow high-effort encoding.

21 people gave an opinion

recommend it
9
criticize it
12
approval share
43%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 9 people recommend itNeeds 10 or more, not met.
  • 0.7 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Strong compression for archiving

    “I archive petabytes of space imagery with libjxl on maximum compression, effortlessly.”

    Comment from 2 Dec 2025 in “Google unkills JPEG XL?”

    “they are really good at generating reasonably compact, high-quality images”

    Comment from 14 Sep 2026 in “The case against JPEG XL”

What people warn about

Each mark is one comment

  • Recurring security vulnerabilities in the library

    “It was an issue with the main JPEGXL library being unmaintained and possibly open for security flaws.”

    Comment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

    “libjxl had notorious bugs that would've on par with webp exploit, if present in browser”

    Comment from 7 Oct 2026 in “Shipping JPEG XL in Chrome”

    “the apps that did utilise the C based libjxl ended up hit with vulnerabilities in it”

    Comment from 3 May 2026 in “Videolan Dav2d”
  • Rust rewrite overtaking the C++ version

    “they decided to replace the C++ libjxl with a rust version which is a WIP”

    Comment from 21 Jan 2026 in “JPEG XL Demo Page”

    “why anyone would continue working on the c++ project once the rust one started beating it in performance”

    Comment from 25 Aug 2026 in “Firefox 157 will include JPEG XL by default on all platforms”
  • Concerns about maintenance and stability

    “It was an issue with the main JPEGXL library being unmaintained and possibly open for security flaws.”

    Comment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

    “the c version unstable and there wasn't anyone to maintain the lib”

    Comment from 8 Oct 2026 in “Shipping JPEG XL in Chrome”

Other image codec libraries people recommend

The two most recommended other image codec libraries, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

libjxl compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Jpegli130100%5—Approved
libjxlThis page91243%5——
jxl-rs8562%4——
See all 3 image codec libraries, ranked

What people said

All 24 comments that mention it, newest first. Each links to the original comment.

“libjxl includes the brotli library, too, so it's also vulnerable to this.”

CriticizesComment from 25 Oct 2026 in “Broccoli2Shell: Brotli decoder RCE in Node.js, Python and more”

“I don’t think there was significant progress on compression between libjxl v0.10.0 and v0.12.0”

CriticizesComment from 17 Oct 2026 in “JPEG XL vs. AVIF for web use-cases”

“libjxl's slow speed at efforts >7 is primarily due to an iterative evaluation-optimization loop”

MixedComment from 16 Oct 2026 in “JPEG XL vs. AVIF for web use-cases”

“13 CVEs (6 CVEs on decoding) over five years is a moderate or good track record”

MixedComment from 11 Oct 2026 on Hacker News

“the c version unstable and there wasn't anyone to maintain the lib”

CriticizesComment from 8 Oct 2026 in “Shipping JPEG XL in Chrome”

“The original libjxl was written in C and has been riddled with security issues.”

CriticizesComment from 7 Oct 2026 in “Shipping JPEG XL in Chrome”

“use the reference command line tools, preferably libjxl and cjxl”

RecommendsComment from 7 Oct 2026 in “Shipping JPEG XL in Chrome”

“libjxl had notorious bugs that would've on par with webp exploit, if present in browser”

CriticizesComment from 7 Oct 2026 in “Shipping JPEG XL in Chrome”

“At this point writing a media file parser in C/C++ is absurdly stupid. The same thing happened with libjxl.”

CriticizesComment from 18 Sep 2026 in “A heap overflow and SSO misconfiguration to compromise OpenAI internal repos”

“they are really good at generating reasonably compact, high-quality images”

RecommendsComment from 14 Sep 2026 in “The case against JPEG XL”

“it is just an uphill battle with a codec like that”

MixedComment from 14 Sep 2026 in “The case against JPEG XL”

“why anyone would continue working on the c++ project once the rust one started beating it in performance”

CriticizesComment from 25 Aug 2026 in “Firefox 157 will include JPEG XL by default on all platforms”

“the apps that did utilise the C based libjxl ended up hit with vulnerabilities in it”

CriticizesComment from 3 May 2026 in “Videolan Dav2d”

“Quickly followed by several vulnerabilities in that reference library as well”

CriticizesComment from 19 Feb 2026 in “Ladybird: Closing this as we are no longer pursuing Swift adoption”

“they decided to replace the C++ libjxl with a rust version which is a WIP”

MixedComment from 21 Jan 2026 in “JPEG XL Demo Page”

“It's also a horrible API.”

CriticizesComment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

“CVE-2023-0645 in libjxl that year too, and several since”

CriticizesComment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

“the reference implementation of JPEG-XL isn't great”

CriticizesComment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

“was getting a healthy stream of commits”

MixedComment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

“It was an issue with the main JPEGXL library being unmaintained and possibly open for security flaws.”

CriticizesComment from 13 Jan 2026 in “Chromium Has Merged JpegXL”

“reference decoder which has some major security flaws”

CriticizesComment from 27 Dec 2025 in “This PNG shows a different version when opened in Chrome than in an image viewer”

“I archive petabytes of space imagery with libjxl on maximum compression, effortlessly.”

RecommendsComment from 2 Dec 2025 in “Google unkills JPEG XL?”

“This is all fine and good until you actually try encoding such an image with libjxl. What an absolute garbage codebase.”

CriticizesComment from 2 Dec 2025 in “Google unkills JPEG XL?”

“uses libjxl which is C++ and therefore cannot be used”

MixedComment from 23 Nov 2025 in “Google Revisits JPEG XL in Chromium After Earlier Removal”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.