Company: CCNE
Filing Date: 2025-02-20
Form Type: S-4
Source: 0001193125-25-030821
Chunk: 375

Company: CNB FINANCIAL CORP/PA
Filing Date: 2025-02-20
Form: S-4
Chunk 375
---
. All notices and other communications hereunder shall be in writing and shall be deemed given if delivered personally or sent by overnight courier (providing proof of delivery) to CNB in accordance with Section 8.06 of the Merger Agreement and to the Shareholder at his, her or its address set forth on Exhibit A attached hereto (or at such other address for a party as shall be specified by like notice).

<div align='center'>(Remainder of page intentionally left blank.)</div>

IN WITNESS WHEREOF, the parties hereto have executed and delivered this Agreement as of the date first written above.

| CNB FINANCIAL CORPORATION |     |                                       |
| By:                       |     |                                       |
| Name:                     |     | Michael D. Peduzzi                    |
| Title:                    |     | President and Chief Executive Officer |
| SHAREHOLDER               |     |                                       |
| Name:                     |     |                                       |

[Signature Page to Voting Agreement]

### EXHIBIT ANAME AND ADDRESSOF SHAREHOLDERSHARES OF ESSA COMMON STOCK BENEFICIALLY OWNED

#### Exhibit B

#### Form of CNB Voting Agreement
VOTING AGREEMENT This VOTING AGREEMENT(this “ Agreement”) is dated as of January 9, 2025, by and between [_________] (the “ Shareholder”) and ESSA Bancorp, Inc., a Pennsylvania corporation (“ ESSA”). All terms used herein and not defined herein shall have the meanings assigned thereto in the Merger Agreement (as defined below). WHEREAS,concurrently with the execution of this Agreement, CNB Financial Corporation, a Pennsylvania corporation (“ CNB”), CNB Bank, a Pennsylvania-chartered nonmember bank and wholly-owned subsidiary of CNB (“ CNB Bank”), ESSA and ESSA Bank & Trust, a Pennsylvania-chartered stock savings bank and wholly-owned subsidiary of ESSA (“ ESSA Bank”), are entering into an Agreement and Plan of Merger (as such agreement may be subsequently amended or modified, the “ Merger Agreement”), pursuant to which ESSA will merge with and into CNB, with CNB surviving, and immediately thereafter, ESSA Bank will merge with and into CNB Bank, with CNB Bank surviving, and in connection therewith, shares of ESSA Stock shall, at the Effective Time, be converted into the right to receive the Merger Consideration; WHEREAS,Shareholder beneficially